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
instead $('.' + s.o.closeClass).bind('click.simplemodal', ...
better use $(document_or_body).delegate('click.simplemodal', '.' + s.o.closeClass, ...
as click button could appear a bit later after .bindEvents() called
The text was updated successfully, but these errors were encountered:
Description updated, code has mistake, thank you.
And if we take care of jquery < 1.7 we should use .delegate(), as it not deprecated and just an alias for .on() in jquery >= 1.7
instead $('.' + s.o.closeClass).bind('click.simplemodal', ...
better use $(document_or_body).delegate('click.simplemodal', '.' + s.o.closeClass, ...
as click button could appear a bit later after .bindEvents() called
The text was updated successfully, but these errors were encountered: