Skip to content

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

@fischfood

Description

@fischfood

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions