From: Alexander Ebert Date: Sun, 24 Jul 2016 16:53:25 +0000 (+0200) Subject: Fixed super-fast clicks sometimes causing an error X-Git-Tag: 3.0.0_Beta_1~978 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=ba8002b172f2f1b7e12de9b94f7fd9cfa819f8f1;p=GitHub%2FWoltLab%2FWCF.git Fixed super-fast clicks sometimes causing an error --- diff --git a/wcfsetup/install/files/js/WCF.User.js b/wcfsetup/install/files/js/WCF.User.js index e97f484cac..96071f286a 100644 --- a/wcfsetup/install/files/js/WCF.User.js +++ b/wcfsetup/install/files/js/WCF.User.js @@ -189,7 +189,7 @@ WCF.User.Panel.Abstract = Class.extend({ if ($.browser.mobile) { this.toggle(); } - else if (this._dropdown.isOpen() && timerBlockClick === null) { + else if ((this._dropdown && this._dropdown.isOpen()) && timerBlockClick === null) { this.toggle(); } }).bind(this));