We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7e8712f commit 36a448eCopy full SHA for 36a448e
1 file changed
django_select2/static/django_select2/django_select2.js
@@ -5,8 +5,8 @@
5
} else if (typeof module === 'object' && module.exports) {
6
module.exports = factory(require('jquery'))
7
} else {
8
- // Browser globals - prefer Django's jQuery to avoid conflicts
9
- factory(globalThis.django.jQuery || jQuery)
+ // Browser globals
+ factory(jQuery || globalThis.django.jQuery)
10
}
11
})($ => {
12
'use strict'
0 commit comments