projects
/
GitHub
/
WoltLab
/
WCF.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
befd354
)
Close search bar on interactive dropdown open
author
Alexander Ebert
<ebert@woltlab.com>
Fri, 26 Aug 2016 10:53:04 +0000
(12:53 +0200)
committer
Alexander Ebert
<ebert@woltlab.com>
Fri, 26 Aug 2016 10:53:04 +0000
(12:53 +0200)
wcfsetup/install/files/js/WCF.js
patch
|
blob
|
blame
|
history
diff --git
a/wcfsetup/install/files/js/WCF.js
b/wcfsetup/install/files/js/WCF.js
index d0ec456fc528dec1b662b39acf91f20e17ff9745..d5f1855e944f7711bca296f75a53411367ca681a 100755
(executable)
--- a/
wcfsetup/install/files/js/WCF.js
+++ b/
wcfsetup/install/files/js/WCF.js
@@
-1192,6
+1192,11
@@
WCF.Dropdown.Interactive.Instance = Class.extend({
this._triggerElement.addClass('open');
this._container.addClass('open');
+ var pageHeader = elById('pageHeader');
+ if (pageHeader && pageHeader.classList.contains('searchBarOpen')) {
+ pageHeader.classList.remove('searchBarOpen');
+ }
+
this.render();
},