Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions django_select2/static/django_select2/django_select2.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
} else if (typeof module === 'object' && module.exports) {
module.exports = factory(require('jquery'))
} else {
// Browser globals
factory(jQuery || window.django.jQuery)
// Browser globals - prefer Django's jQuery to avoid conflicts
factory(window.django.jQuery || jQuery)
}
}(function ($) {
'use strict'
Expand Down