From 06a3f53cc437b7e964f7067127072202aebb1ffe Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Sun, 23 Mar 2014 19:21:22 +0100 Subject: [PATCH] Hides message edit dropdown after triple clicks --- wcfsetup/install/files/js/WCF.Message.js | 4 ++++ 1 file changed, 4 insertions(+) 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; -- 2.20.1