From 8fd76c0b5995aca6a7a16260db809f71ea5a8643 Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Mon, 24 Mar 2014 19:42:11 +0100 Subject: [PATCH] Fixes typos --- wcfsetup/install/files/js/WCF.User.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wcfsetup/install/files/js/WCF.User.js b/wcfsetup/install/files/js/WCF.User.js index 7ee0313c33..b1bffff2b3 100644 --- a/wcfsetup/install/files/js/WCF.User.js +++ b/wcfsetup/install/files/js/WCF.User.js @@ -2573,7 +2573,7 @@ WCF.User.InlineEditor = WCF.InlineEditor.extend({ case 'ban': case 'disableAvatar': case 'disableSignature': - if (optionName == 'unban') { + if (optionName == 'ban') { $data.banned = 1; } else { @@ -2695,7 +2695,7 @@ WCF.User.InlineEditor = WCF.InlineEditor.extend({ if (action === 'confirm') { this._executeReasonAction(userID, optionName, $('#wcfSystemConfirmationContent').find('textarea').val()); } - }, this), { }, $('
' + WCF.Language.get('wcf.global.reason') + '