From: Alexander Ebert Date: Mon, 24 Apr 2017 11:17:15 +0000 (+0200) Subject: Fixed pre-selection of message tabs X-Git-Tag: 3.0.5~40 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=27657ca3f221c66b1ab84ab0ea375a6eb27aeb5c;p=GitHub%2FWoltLab%2FWCF.git Fixed pre-selection of message tabs --- diff --git a/wcfsetup/install/files/js/WCF.Message.js b/wcfsetup/install/files/js/WCF.Message.js index eebae0356d..a2d1a498cc 100644 --- a/wcfsetup/install/files/js/WCF.Message.js +++ b/wcfsetup/install/files/js/WCF.Message.js @@ -2101,7 +2101,7 @@ $.widget('wcf.messageTabMenu', { var $anchor = $tab.children('a').data('index', $i).on('mousedown', this._showTab.bind(this)); if ($preselect == $name) { - $anchor.trigger('click'); + $anchor.trigger('mousedown'); } }