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

rolandtoth commented Jan 8, 2017

  • 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.

rolandtoth added 2 commits Jan 8, 2017
@dg dg closed this in f91a220 Jan 9, 2017
@dg

This comment has been minimized.

Copy link
Member

dg commented Jan 9, 2017

Thank you, I fixed it a bit differently.

@rolandtoth

This comment has been minimized.

Copy link
Author

rolandtoth commented Jan 9, 2017

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
Projects
None yet
2 participants
You can’t perform that action at this time.