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

Avoid multiple init for bar links #239

Closed
wants to merge 2 commits into from
Closed

Conversation

rolandtoth
Copy link

  • bug fix? yes
  • new feature? no
  • BC break? no

When the AJAX bar appears, events are re-added for bar links. For example, when clicking on a bar link the corresponding panel appears and disappears because there are two click events on it. This fix adds a data attribute and events are added only if this attribute is not present on the link.

@dg dg closed this in f91a220 Jan 9, 2017
@dg
Copy link
Member

dg commented Jan 9, 2017

Thank you, I fixed it a bit differently.

@rolandtoth
Copy link
Author

Working fine, thanks!

dg added a commit that referenced this pull request Jan 13, 2017
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

Successfully merging this pull request may close these issues.

2 participants