diff options
Diffstat (limited to 'inc')
-rw-r--r-- | inc/awesomplete-multiple-tags.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/inc/awesomplete-multiple-tags.js b/inc/awesomplete-multiple-tags.js index e0f889b1..4cc8429f 100644 --- a/inc/awesomplete-multiple-tags.js +++ b/inc/awesomplete-multiple-tags.js | |||
@@ -1,5 +1,5 @@ | |||
1 | $ = Awesomplete.$; | 1 | var awp = Awesomplete.$; |
2 | awesomplete = new Awesomplete($('input[data-multiple]'), { | 2 | awesomplete = new Awesomplete(awp('input[data-multiple]'), { |
3 | filter: function(text, input) { | 3 | filter: function(text, input) { |
4 | return Awesomplete.FILTER_CONTAINS(text, input.match(/[^ ]*$/)[0]); | 4 | return Awesomplete.FILTER_CONTAINS(text, input.match(/[^ ]*$/)[0]); |
5 | }, | 5 | }, |