Fix example code for the old matcher
This commit is contained in:
parent
f367185a8a
commit
dc2f6d451a
1 changed files with 1 additions and 1 deletions
|
@ -703,7 +703,7 @@ function matchStart (term, text) {
|
|||
return false;
|
||||
}
|
||||
|
||||
$.select2.amd.require(['select2/compat/matcher'], function (oldMatcher) {
|
||||
$.fn.select2.amd.require(['select2/compat/matcher'], function (oldMatcher) {
|
||||
$(".js-example-matcher-start").select2({
|
||||
matcher: oldMatcher(matchStart)
|
||||
})
|
||||
|
|
Loading…
Add table
Reference in a new issue