fix fullscreen and bbco_autocomplete popup rendering

This commit is contained in:
Mario Vavti
2017-03-20 20:59:46 +01:00
parent 8b0bcdb2a5
commit 837efcf5e7
4 changed files with 13 additions and 17 deletions

View File

@@ -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');