Skip to content

Commit 36a448e

Browse files
committed
Revert "Fix jQuery preference order to prevent conflicts with third-party widgets"
This reverts commit 2e2f7f2.
1 parent 7e8712f commit 36a448e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

django_select2/static/django_select2/django_select2.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
} else if (typeof module === 'object' && module.exports) {
66
module.exports = factory(require('jquery'))
77
} else {
8-
// Browser globals - prefer Django's jQuery to avoid conflicts
9-
factory(globalThis.django.jQuery || jQuery)
8+
// Browser globals
9+
factory(jQuery || globalThis.django.jQuery)
1010
}
1111
})($ => {
1212
'use strict'

0 commit comments

Comments
 (0)