From: Marcel Werk Date: Sun, 10 Jul 2016 16:36:23 +0000 (+0200) Subject: Close interactive dropdowns when search bar is open X-Git-Tag: 3.0.0_Beta_1~1214 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=9db67c25583f85a33886ab9cf5759b5bfe935e64;p=GitHub%2FWoltLab%2FWCF.git Close interactive dropdowns when search bar is open --- diff --git a/wcfsetup/install/files/js/WoltLab/WCF/Ui/Page/Header/Fixed.js b/wcfsetup/install/files/js/WoltLab/WCF/Ui/Page/Header/Fixed.js index 43144662b3..e2a6933828 100644 --- a/wcfsetup/install/files/js/WoltLab/WCF/Ui/Page/Header/Fixed.js +++ b/wcfsetup/install/files/js/WoltLab/WCF/Ui/Page/Header/Fixed.js @@ -74,6 +74,7 @@ define(['Core', 'EventHandler', 'Ui/Alignment', 'Ui/CloseOverlay', 'Ui/Screen', }); _pageHeader.classList.add('searchBarOpen'); + WCF.Dropdown.Interactive.Handler.closeAll(); searchInput.focus(); } });