You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It should probably pointed out in the readme that you cannot bind on the shown and hidden event directly on the modal but one must use modal.$el instead:
Does not work
modal.on('shown', function() {
// some code
});
Works
modal.$el.on('shown', function() {
// some code
});
The text was updated successfully, but these errors were encountered:
The events are proxied through the modal so it should work. However there is another bug (#4) related to pressing Esc to close the modal which doesn't trigger this, which may be where you're running into the problem.
It should probably pointed out in the readme that you cannot bind on the
shown
andhidden
event directly on themodal
but one must usemodal.$el
instead:Does not work
Works
The text was updated successfully, but these errors were encountered: