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 2e2f7f2 commit a9d91e2Copy full SHA for a9d91e2
django_select2/static/django_select2/django_select2.js
@@ -6,7 +6,7 @@
6
module.exports = factory(require('jquery'))
7
} else {
8
// Browser globals - prefer Django's jQuery to avoid conflicts
9
- factory(window.django.jQuery || jQuery)
+ factory(window.django?.jQuery || jQuery)
10
}
11
}(function ($) {
12
'use strict'
0 commit comments