From cfb4bf6be1b18ec15cddbec1ea37e76176b1050b Mon Sep 17 00:00:00 2001 From: ckonstanski Date: Thu, 30 Jul 2026 17:56:41 -0600 Subject: initial commit --- src/static/admin/js/jquery.init.js | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 src/static/admin/js/jquery.init.js (limited to 'src/static/admin/js/jquery.init.js') diff --git a/src/static/admin/js/jquery.init.js b/src/static/admin/js/jquery.init.js new file mode 100644 index 0000000..f3ac162 --- /dev/null +++ b/src/static/admin/js/jquery.init.js @@ -0,0 +1,8 @@ +/*global django:true, jQuery:false*/ +/* Puts the included jQuery into our own namespace using noConflict and passing + * it 'true'. This ensures that the included jQuery doesn't pollute the global + * namespace (i.e. this preserves pre-existing values for both window.$ and + * window.jQuery). + */ +var django = django || {}; +django.jQuery = jQuery.noConflict(true); -- cgit v1.3