diff options
author | Mario Vavti <mario@mariovavti.com> | 2017-03-20 20:59:46 +0100 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2017-03-20 20:59:46 +0100 |
commit | 837efcf5e73b7fbc81697bcb1257ef8cf6912cdd (patch) | |
tree | d0ef99b70cc7a6eff8383ff55914042ddae4866b /view/js/autocomplete.js | |
parent | 8b0bcdb2a56ba7a8a9c55687d7dba26154fce83d (diff) | |
download | volse-hubzilla-837efcf5e73b7fbc81697bcb1257ef8cf6912cdd.tar.gz volse-hubzilla-837efcf5e73b7fbc81697bcb1257ef8cf6912cdd.tar.bz2 volse-hubzilla-837efcf5e73b7fbc81697bcb1257ef8cf6912cdd.zip |
fix fullscreen and bbco_autocomplete popup rendering
Diffstat (limited to 'view/js/autocomplete.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'); |