1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-22 12:27:57 +01:00

use toggleSidebar for closing the sidebar so that the menu state is properly

updated
This commit is contained in:
Doug Kearns
2007-09-18 09:33:18 +00:00
parent c2eda435cc
commit 3bddbc90b9

View File

@@ -1086,8 +1086,8 @@ function Commands() //{{{
return;
}
document.getElementById("sidebar-box").hidden = true;;
document.getElementById("sidebar-splitter").hidden = true;;
if (document.getElementById("sidebar-box").hidden == false)
toggleSidebar();
},
{
short_help: "Close the sidebar",