Skip to content

Jquery plugin, close popup behaviour #7

Description

@leonardoxc

It would be good for the user experience if the popup closed when the user clicks on the language selector once more

change required:

Line 163 replace
openPopup($popup, settings);
with
if ( settings._model.status == 'opened') {
closePopup($popup, settings);
} else {
openPopup($popup, settings);
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions