mirror of
https://gitlab.crans.org/bde/nk20
synced 2025-06-29 12:50:55 +02:00
add static files
This commit is contained in:
8
static/admin/js/jquery.init.js
Normal file
8
static/admin/js/jquery.init.js
Normal file
@ -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);
|
Reference in New Issue
Block a user