From: Matthias Schmidt Date: Sun, 23 Mar 2014 18:21:22 +0000 (+0100) Subject: Hides message edit dropdown after triple clicks X-Git-Tag: 2.0.5~22 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=06a3f53cc437b7e964f7067127072202aebb1ffe;p=GitHub%2FWoltLab%2FWCF.git Hides message edit dropdown after triple clicks --- diff --git a/wcfsetup/install/files/js/WCF.Message.js b/wcfsetup/install/files/js/WCF.Message.js index f3033f45b6..776ad46277 100644 --- a/wcfsetup/install/files/js/WCF.Message.js +++ b/wcfsetup/install/files/js/WCF.Message.js @@ -1167,6 +1167,10 @@ WCF.Message.InlineEditor = Class.extend({ $notification.show(); } + // force closing dropdown to avoid displaying the dropdown after + // triple clicks + this._dropdowns[this._container[$containerID].data('objectID')].removeClass('dropdownOpen'); + if (event !== null) { event.stopPropagation(); return false;