Skip to content

Commit ac74cca

Browse files
committed
fix: set window.jQuery to Django's version
1 parent 8b7a182 commit ac74cca

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
(function($) {
2-
if (!window.jQuery) window.jQuery = $;
3-
})(window._jq || jQuery || grp.jQuery);
2+
// overwrite whatever is set in global, to use in Magnific popup
3+
window.jQuery = $
4+
})(django.jQuery);

0 commit comments

Comments
 (0)