Removed debug output
authorAlexander Ebert <ebert@woltlab.com>
Sun, 14 Dec 2014 12:58:12 +0000 (13:58 +0100)
committerAlexander Ebert <ebert@woltlab.com>
Sun, 14 Dec 2014 12:58:12 +0000 (13:58 +0100)
wcfsetup/install/files/js/3rdParty/redactor/plugins/wbbcode.js

index 6294a6cb78d874c35115324d40118b3d09ae4677..aad1352697ca60f8be8785c0a0c4a7e144b3060e 100644 (file)
@@ -1014,7 +1014,6 @@ RedactorPlugins.wbbcode = function() {
                        data = data.replace(/<p><blockquote/g, '<blockquote');
                        data = data.replace(/<\/blockquote><\/p>/g, '</blockquote>');
                        
-                       console.debug(data);
                        WCF.System.Event.fireEvent('com.woltlab.wcf.redactor', 'afterConvertToHtml', { data: data });
                        
                        return data;
@@ -1597,11 +1596,6 @@ RedactorPlugins.wbbcode = function() {
                                        $tagName = 'DIV';
                                }
                                
-                               console.debug(referenceElement);
-                               console.debug(target);
-                               console.debug(referenceElement[target]);
-                               console.debug("");
-                               
                                // no previous/next element or it is not a <p> (default) or <div> (within quotes)
                                if (referenceElement[target] === null || referenceElement[target].tagName !== $tagName) {
                                        $('<' + $tagName + '>' + this.opts.invisibleSpace + '</' + $tagName + '>')[(target === 'previousElementSibling' ? 'insertBefore' : 'insertAfter')](referenceElement);