mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-10-17 01:32:31 +02:00
use toggleSidebar for closing the sidebar so that the menu state is properly
updated
This commit is contained in:
1 parent
c2eda435cc
commit
3bddbc90b9
1 file changed
+2
-2
@@ -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",
|
||||
|
||||
Reference in new issue
Block a user