diff options
author | Stefan Parviainen <saparvia@caterva.eu> | 2014-12-21 10:49:45 +0100 |
---|---|---|
committer | Stefan Parviainen <saparvia@caterva.eu> | 2014-12-21 10:49:45 +0100 |
commit | c2b84f73852a728ccadd7a9b58ec693b81ba65db (patch) | |
tree | 19637319c15e9980beb8912357082405c1245d16 /view/js/autocomplete.js | |
parent | 4e5118650225fe0e194ac8164c47916575e898b3 (diff) | |
download | volse-hubzilla-c2b84f73852a728ccadd7a9b58ec693b81ba65db.tar.gz volse-hubzilla-c2b84f73852a728ccadd7a9b58ec693b81ba65db.tar.bz2 volse-hubzilla-c2b84f73852a728ccadd7a9b58ec693b81ba65db.zip |
Correct domain for smily requests
Diffstat (limited to 'view/js/autocomplete.js')
-rw-r--r-- | view/js/autocomplete.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/view/js/autocomplete.js b/view/js/autocomplete.js index fa293fdfd..7e6fc44ab 100644 --- a/view/js/autocomplete.js +++ b/view/js/autocomplete.js @@ -50,7 +50,7 @@ function replace(item) { smilies = { match: /(^|\s)(:[a-z]{2,})$/, index: 2, - search: function(term, callback) { $.getJSON('https://caterva.eu/smilies/json').done(function(data) { callback($.map(data, function(entry) { return entry['text'].indexOf(term) === 0 ? entry : null })) }) }, + search: function(term, callback) { $.getJSON('/smilies/json').done(function(data) { callback($.map(data, function(entry) { return entry['text'].indexOf(term) === 0 ? entry : null })) }) }, template: function(item) { return item['icon'] + item['text'] }, replace: function(item) { return item['text'] + ' '; }, } |