From ac8a1bd725abb8be599ebcd3b6189ef438f07c39 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Tue, 30 Dec 2014 17:26:46 +0100 Subject: [PATCH] Removed unnecessary bind() --- wcfsetup/install/files/js/3rdParty/redactor/plugins/wutil.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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; -- 2.20.1