From: Alexander Ebert Date: Mon, 4 Apr 2016 10:52:31 +0000 (+0200) Subject: Fixed function declaration in strict mode X-Git-Tag: 2.1.11~45 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=8ba373730439b0ebeea78ce185d407140478d030;p=GitHub%2FWoltLab%2FWCF.git Fixed function declaration in strict mode --- diff --git a/wcfsetup/install/files/js/3rdParty/redactor/plugins/wbbcode.js b/wcfsetup/install/files/js/3rdParty/redactor/plugins/wbbcode.js index a65cb04931..fe6091189b 100644 --- a/wcfsetup/install/files/js/3rdParty/redactor/plugins/wbbcode.js +++ b/wcfsetup/install/files/js/3rdParty/redactor/plugins/wbbcode.js @@ -253,7 +253,7 @@ RedactorPlugins.wbbcode = function() { $range.insertNode($smiley); // add spaces around the smiley that serve as padding - function $isSpace(sibling) { + var $isSpace = function(sibling) { if (sibling === null) return false; if ((sibling.nodeType === Node.ELEMENT_NODE && sibling.nodeName === 'SPAN') || sibling.nodeType === Node.TEXT_NODE) {