From 27657ca3f221c66b1ab84ab0ea375a6eb27aeb5c Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Mon, 24 Apr 2017 13:17:15 +0200 Subject: [PATCH] Fixed pre-selection of message tabs --- wcfsetup/install/files/js/WCF.Message.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'); } } -- 2.20.1