]> git.mxchange.org Git - friendica.git/commitdiff
When selecting forums there was an added "span" html element.
authorMichael Vogel <icarus@dabo.de>
Mon, 1 Dec 2014 21:56:41 +0000 (22:56 +0100)
committerMichael Vogel <icarus@dabo.de>
Mon, 1 Dec 2014 21:56:41 +0000 (22:56 +0100)
js/acl.js

index 9c55842fdcdeff798677be86ebc2864f5ad570a7..487ffafc770032578f1437bd84db44e9b39c77c8 100644 (file)
--- a/js/acl.js
+++ b/js/acl.js
@@ -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);
        }
 }