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
When using jQuery with .noConflict() mode, jquery-modal throws error:
Cannot read property 'fn' of undefined
It can be easily fixed by replacing })(); with })(jQuery); and adding it as an argument on the begining of script - (function($) {. This way, even if jQuery was detatched from $ variable, plugin will work.
The text was updated successfully, but these errors were encountered:
When using jQuery with .noConflict() mode, jquery-modal throws error:
It can be easily fixed by replacing
})();
with})(jQuery);
and adding it as an argument on the begining of script -(function($) {
. This way, even if jQuery was detatched from$
variable, plugin will work.The text was updated successfully, but these errors were encountered: