Commit 218aff45 authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧

Don't reset the menu unless there's something to change

resetMenu will close the drawer which can be annoying in some occasions
parent dd49191c
......@@ -61,7 +61,8 @@ function openExtends(ext) {
}
function openHome() {
window.globalDrawer.resetMenu();
if (window.globalDrawer.currentSubMenu)
window.globalDrawer.resetMenu();
clearStack()
window.globalDrawer.clearSearch();
window.stack.push(topBrowsingComp)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment