1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-03-18 07:43:31 +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 11:33:42 +00:00
parent d8ad3a2d94
commit 2202d2636c

View File

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