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