1
0
mirror of synced 2024-11-22 13:06:08 +03:00

Fix example code for the old matcher

This commit is contained in:
Kevin Brown 2015-02-24 14:18:07 -05:00
parent f367185a8a
commit dc2f6d451a

View File

@ -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)
})