From 5551baadfec0f16cbc4b4ea640cbd42ebf81fff9 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Thu, 18 Dec 2014 02:19:16 +0100 Subject: [PATCH] Fixed argument list --- wcfsetup/install/files/js/3rdParty/redactor/plugins/wbbcode.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'; -- 2.20.1