aboutsummaryrefslogtreecommitdiffstats
path: root/view/js/autocomplete.js
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2016-06-06 09:39:56 +0200
committerMario Vavti <mario@mariovavti.com>2016-06-06 09:39:56 +0200
commitb886a40471fdf8cf80364f08fe8c7d29a9ed9537 (patch)
treeb93835c834414a5cecdc8cbdd339bb91d840a09f /view/js/autocomplete.js
parentcfbd2fc85c6e428f87c5e8d529c98e3e89202f2a (diff)
parentc0d80a58284baa7dc4ac05b5628a43e8743ac4f0 (diff)
downloadvolse-hubzilla-b886a40471fdf8cf80364f08fe8c7d29a9ed9537.tar.gz
volse-hubzilla-b886a40471fdf8cf80364f08fe8c7d29a9ed9537.tar.bz2
volse-hubzilla-b886a40471fdf8cf80364f08fe8c7d29a9ed9537.zip
Merge branch 'dev' into sabre32
Diffstat (limited to 'view/js/autocomplete.js')
-rw-r--r--view/js/autocomplete.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/view/js/autocomplete.js b/view/js/autocomplete.js
index 33d825b55..59a9ed355 100644
--- a/view/js/autocomplete.js
+++ b/view/js/autocomplete.js
@@ -183,7 +183,7 @@ function string2bb(element) {
};
smilies = {
- match: /(^|\s)(:[a-z]{2,})$/,
+ match: /(^|\s)(:[a-z_:]{2,})$/,
index: 2,
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; },