From 3f4692a5ef87d56b76b21eaeeb9f7e4dea50e3df Mon Sep 17 00:00:00 2001 From: =?utf8?q?Joshua=20R=C3=BCsweg?= Date: Fri, 19 Jul 2019 22:26:33 +0200 Subject: [PATCH] Fix dblclick on InlineEditors Closes #2713 --- wcfsetup/install/files/js/WCF.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wcfsetup/install/files/js/WCF.js b/wcfsetup/install/files/js/WCF.js index f620d4e223..00459c5a60 100755 --- a/wcfsetup/install/files/js/WCF.js +++ b/wcfsetup/install/files/js/WCF.js @@ -5606,9 +5606,9 @@ if (COMPILER_TARGET_DEFAULT) { } $trigger.on(WCF_CLICK_EVENT, $.proxy(self._show, self)).data('elementID', $elementID); - if (this._quickOption) { + if (self._quickOption) { // simulate click on target action - $trigger.disableSelection().data('optionName', $quickOption).dblclick($.proxy(self._click, self)); + $trigger.disableSelection().data('optionName', self._quickOption).dblclick($.proxy(self._click, self)); } // store reference -- 2.20.1