Skip to content

Commit 7e8712f

Browse files
committed
Revert "Use optional chaining for jQuery reference"
This reverts commit a9d91e2.
1 parent a0a3778 commit 7e8712f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

django_select2/static/django_select2/django_select2.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
module.exports = factory(require('jquery'))
77
} else {
88
// Browser globals - prefer Django's jQuery to avoid conflicts
9-
factory(globalThis.django?.jQuery || jQuery)
9+
factory(globalThis.django.jQuery || jQuery)
1010
}
1111
})($ => {
1212
'use strict'

0 commit comments

Comments
 (0)