Browse Source

When selecting forums there was an added "span" html element.

pull/1238/head
Michael Vogel 6 years ago
parent
commit
8b5412068e
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      js/acl.js

+ 1
- 1
js/acl.js View File

@ -62,7 +62,7 @@ ACL.prototype.add_mention = function(id) {
that.element.val( searchText + that.element.val() );
} else {
if ( tinyMCE.activeEditor.getContent({format : 'raw'}).search(searchText) >= 0 ) return;
tinyMCE.activeEditor.dom.add(tinyMCE.activeEditor.getBody(), 'span', {}, searchText);
tinyMCE.activeEditor.dom.add(tinyMCE.activeEditor.getBody(), 'dummy', {}, searchText);
}
}


Loading…
Cancel
Save