Fixed pre-selection of message tabs
authorAlexander Ebert <ebert@woltlab.com>
Mon, 24 Apr 2017 11:17:15 +0000 (13:17 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Mon, 24 Apr 2017 12:49:50 +0000 (14:49 +0200)
wcfsetup/install/files/js/WCF.Message.js

index eebae0356d27378b916bf77052fbdfebd8d4e5e6..a2d1a498cc246e3399cd099d22dd9b32b9fc7238 100644 (file)
@@ -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');
                        }
                }