Fix TypeError
This closes https://github.com/select2/select2/issues/3160.
This commit is contained in:
parent
9d359c9b38
commit
1f62eb67e8
2
dist/js/select2.full.js
vendored
2
dist/js/select2.full.js
vendored
@ -5832,7 +5832,7 @@ S2.define('jquery.select2',[
|
||||
// Hold the AMD module references on the jQuery function that was just loaded
|
||||
// This allows Select2 to use the internal loader outside of this file, such
|
||||
// as in the language files.
|
||||
$.fn.select2.amd = S2;
|
||||
jQuery.fn.select2.amd = S2;
|
||||
|
||||
// Return the Select2 instance for anyone who is importing it.
|
||||
return select2;
|
||||
|
2
dist/js/select2.full.min.js
vendored
2
dist/js/select2.full.min.js
vendored
File diff suppressed because one or more lines are too long
2
dist/js/select2.js
vendored
2
dist/js/select2.js
vendored
@ -5272,7 +5272,7 @@ S2.define('jquery.select2',[
|
||||
// Hold the AMD module references on the jQuery function that was just loaded
|
||||
// This allows Select2 to use the internal loader outside of this file, such
|
||||
// as in the language files.
|
||||
$.fn.select2.amd = S2;
|
||||
jQuery.fn.select2.amd = S2;
|
||||
|
||||
// Return the Select2 instance for anyone who is importing it.
|
||||
return select2;
|
||||
|
2
dist/js/select2.min.js
vendored
2
dist/js/select2.min.js
vendored
File diff suppressed because one or more lines are too long
@ -5,7 +5,7 @@
|
||||
// Hold the AMD module references on the jQuery function that was just loaded
|
||||
// This allows Select2 to use the internal loader outside of this file, such
|
||||
// as in the language files.
|
||||
$.fn.select2.amd = S2;
|
||||
jQuery.fn.select2.amd = S2;
|
||||
|
||||
// Return the Select2 instance for anyone who is importing it.
|
||||
return select2;
|
||||
|
Loading…
x
Reference in New Issue
Block a user