Renames Awesomeplete dollar variable to avoid conflicts with jQuery

This commit is contained in:
kalvn 2016-05-03 19:05:36 +02:00
parent fa72470d5d
commit 69a1a90c27

View file

@ -1,5 +1,5 @@
$ = Awesomplete.$;
awesomplete = new Awesomplete($('input[data-multiple]'), {
var awp = Awesomplete.$;
awesomplete = new Awesomplete(awp('input[data-multiple]'), {
filter: function(text, input) {
return Awesomplete.FILTER_CONTAINS(text, input.match(/[^ ]*$/)[0]);
},