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
1 changed files with 2 additions and 2 deletions

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]);
},