Close interactive dropdowns when search bar is open
authorMarcel Werk <burntime@woltlab.com>
Sun, 10 Jul 2016 16:36:23 +0000 (18:36 +0200)
committerMarcel Werk <burntime@woltlab.com>
Sun, 10 Jul 2016 16:36:29 +0000 (18:36 +0200)
wcfsetup/install/files/js/WoltLab/WCF/Ui/Page/Header/Fixed.js

index 43144662b315846fcbcffb4b30f3fe5eae30f614..e2a69338288818c51a60547ebf20acd89e4c7b02 100644 (file)
@@ -74,6 +74,7 @@ define(['Core', 'EventHandler', 'Ui/Alignment', 'Ui/CloseOverlay', 'Ui/Screen',
                                        });
                                        
                                        _pageHeader.classList.add('searchBarOpen');
+                                       WCF.Dropdown.Interactive.Handler.closeAll();
                                        searchInput.focus();
                                }
                        });