From: Alexander Ebert Date: Thu, 18 Dec 2014 01:19:16 +0000 (+0100) Subject: Fixed argument list X-Git-Tag: 2.1.0_Beta_2~11 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=5551baadfec0f16cbc4b4ea640cbd42ebf81fff9;p=GitHub%2FWoltLab%2FWCF.git Fixed argument list --- diff --git a/wcfsetup/install/files/js/3rdParty/redactor/plugins/wbbcode.js b/wcfsetup/install/files/js/3rdParty/redactor/plugins/wbbcode.js index 5906192668..c9e5c31c93 100644 --- a/wcfsetup/install/files/js/3rdParty/redactor/plugins/wbbcode.js +++ b/wcfsetup/install/files/js/3rdParty/redactor/plugins/wbbcode.js @@ -688,7 +688,7 @@ RedactorPlugins.wbbcode = function() { // [img] data = data.replace(/\[img\]([^"]+?)\[\/img\]/gi,''); - data = data.replace(/\[img='?([^"]*?)'?,'?(left|right)'?\]\[\/img\]/gi, function(match, src, float, width) { + data = data.replace(/\[img='?([^"]*?)'?,'?(left|right)'?\]\[\/img\]/gi, function(match, src, float) { var $style = 'float: ' + float + ';'; if (float === 'left') { $style += 'margin: 0 15px 7px 0';