Skip to content

Commit f9ed100

Browse files
committed
Call djangoSelect2 instead of djangoAdminSelect2
1 parent 7c001d8 commit f9ed100

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

django_select2/static/django_select2/django_select2.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868
}
6969

7070
$(function () {
71-
$('.django-select2').not('[name*=__prefix__]').djangoAdminSelect2()
71+
$('.django-select2').not('[name*=__prefix__]').djangoSelect2()
7272

7373
document.addEventListener('formset:added', (event) => {
7474
$(event.target).find('.django-select2').djangoSelect2()

0 commit comments

Comments
 (0)