From: Alexander Ebert Date: Tue, 30 Dec 2014 16:26:46 +0000 (+0100) Subject: Removed unnecessary bind() X-Git-Tag: 2.1.0_Beta_3~52 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=ac8a1bd725abb8be599ebcd3b6189ef438f07c39;p=GitHub%2FWoltLab%2FWCF.git Removed unnecessary bind() --- diff --git a/wcfsetup/install/files/js/3rdParty/redactor/plugins/wutil.js b/wcfsetup/install/files/js/3rdParty/redactor/plugins/wutil.js index f781a92524..8d564b8ce6 100644 --- a/wcfsetup/install/files/js/3rdParty/redactor/plugins/wutil.js +++ b/wcfsetup/install/files/js/3rdParty/redactor/plugins/wutil.js @@ -443,9 +443,7 @@ RedactorPlugins.wutil = function() { $uuid = WCF.System.Event.addListener('com.woltlab.wcf.redactor', 'keydown_' + this.$textarea.wcfIdentify(), (function(data) { WCF.System.Event.removeListener('com.woltlab.wcf.redactor', 'keydown_' + this.$textarea.wcfIdentify(), $uuid); - setTimeout((function() { - $accept.trigger('click'); - }).bind(this), 3000); + setTimeout(function() { $accept.trigger('click'); }, 3000); }).bind(this)); break;