diff options
author | kalvn <kalvnthereal@gmail.com> | 2016-05-03 19:05:36 +0200 |
---|---|---|
committer | kalvn <kalvnthereal@gmail.com> | 2016-05-03 19:05:36 +0200 |
commit | 69a1a90c27953b8a2523f6e49258170cdc6b682d (patch) | |
tree | 98f622b24e7c453edae6ed5a89836d88be436a8f | |
parent | fa72470d5d14082e6c05b83f3f32439298dbc0e3 (diff) | |
download | Shaarli-69a1a90c27953b8a2523f6e49258170cdc6b682d.tar.gz Shaarli-69a1a90c27953b8a2523f6e49258170cdc6b682d.tar.zst Shaarli-69a1a90c27953b8a2523f6e49258170cdc6b682d.zip |
Renames Awesomeplete dollar variable to avoid conflicts with jQuery
-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 | }, |