-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Cannot "remove" popup #760
Comments
Hi, check out this fiddle: $('.ui.button').popup('destroy'); removes all events and disables the popup Calling $('.ui.button').popup('remove'); will remove the popup from the DOM when you use |
Thanks @jlukic, worked for me. |
@jlukic thank you; this is not documented on the website, it could be added :) |
the event is still attached to the element @jlukic ... destroy should remove the the event from the element. $._data($(el)[0], "events").click // tells you |
Doesn't work with on:'click' settings. |
This is a re-creation of #490 which was closed because the original author did not provide a test case. I have provided one.
Remove not seem to do anything. The popup still appears.
Test case:
http://jsfiddle.net/uB8Lk/
The text was updated successfully, but these errors were encountered: