mirror of
https://github.com/pierre42100/ComunicWeb
synced 2024-12-24 18:08:50 +00:00
Click on search link collapse toggle menu
This commit is contained in:
parent
f91ffba2a4
commit
c495337aa6
@ -258,7 +258,7 @@ ComunicWeb.components.menuBar.authenticated = {
|
||||
var searchLinkLi = createElem2({
|
||||
appendTo: navbarElem,
|
||||
type: "li",
|
||||
class: "navbar-left messages-menu visible-xs"
|
||||
class: "navbar-left visible-xs"
|
||||
});
|
||||
|
||||
var searchLink = createElem2({
|
||||
@ -269,6 +269,7 @@ ComunicWeb.components.menuBar.authenticated = {
|
||||
|
||||
searchLink.addEventListener("click", function(){
|
||||
openPage("search");
|
||||
$(navbarElem.parentNode).collapse("toggle");
|
||||
});
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user