diff options
Diffstat (limited to 'view/js')
-rw-r--r-- | view/js/autocomplete.js | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/view/js/autocomplete.js b/view/js/autocomplete.js index e33f6192b..313e501e2 100644 --- a/view/js/autocomplete.js +++ b/view/js/autocomplete.js @@ -70,6 +70,10 @@ function smiley_format(item) { return "<div class='dropdown-item'>" + item.icon + ' ' + item.text + "</div>"; } +function bbco_format(item) { + return "<div class='dropdown-item'>" + item + "</div>"; +} + function editor_replace(item) { if(typeof item.replace !== 'undefined') { return '$1$2' + item.replace; @@ -326,7 +330,8 @@ function string2bb(element) { else { return '\[' + element + '\] '; } - } + }, + template: bbco_format }; this.attr('autocomplete','off'); |