mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-22 12:57:58 +01:00
use toggleSidebar for closing the sidebar so that the menu state is properly
updated
This commit is contained in:
@@ -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