Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Buttons with trigger-close class don't go to the href location on notice dismissal #199

Open
fischfood opened this issue Apr 12, 2021 · 0 comments

Comments

@fischfood
Copy link
Contributor

In the frontend/dismiss.js logic, a link can that has an href and a class of trigger-close should will go to that location on click after dismissing the modal. Currently this only fires on ajaxComplete, which won't run if a user isn't logged in.

Also, if the user is logged in, the get_user_id is still returning a 0 so it never reaches the ajaxComplete

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant