linchpin/courier-notices

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

Opened this issue · 0 comments

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