From 9111c2b5cf1dc76ef7048e289115bacfe64c36e0 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Wed, 16 Nov 2016 13:51:35 +0100 Subject: [PATCH] Fixed popover flicker on re-entry --- .../files/js/WoltLabSuite/Core/Controller/Popover.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/wcfsetup/install/files/js/WoltLabSuite/Core/Controller/Popover.js b/wcfsetup/install/files/js/WoltLabSuite/Core/Controller/Popover.js index 927a601010..8befa915de 100644 --- a/wcfsetup/install/files/js/WoltLabSuite/Core/Controller/Popover.js +++ b/wcfsetup/install/files/js/WoltLabSuite/Core/Controller/Popover.js @@ -296,9 +296,11 @@ define(['Ajax', 'Dictionary', 'Environment', 'Dom/ChangeListener', 'Dom/Util', ' var forceHide = false; if (_popover.classList.contains('active')) { - this._hide(); - - forceHide = true; + if (_activeId !== _hoverId) { + this._hide(); + + forceHide = true; + } } else if (_popoverContent.childElementCount) { forceHide = true; -- 2.20.1