Correct domain for smily requests
This commit is contained in:
parent
4e51186502
commit
c2b84f7385
@ -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'] + ' '; },
|
||||
}
|
||||
|
Reference in New Issue
Block a user