From: Joshua Rüsweg Date: Fri, 19 Jul 2019 20:26:33 +0000 (+0200) Subject: Fix dblclick on InlineEditors X-Git-Tag: 5.2.0_Alpha_3~31^2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=3f4692a5ef87d56b76b21eaeeb9f7e4dea50e3df;p=GitHub%2FWoltLab%2FWCF.git Fix dblclick on InlineEditors Closes #2713 --- 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