diff --git a/chrome/content/vimperator/commands.js b/chrome/content/vimperator/commands.js index 699c4fc5..d09a7f00 100644 --- a/chrome/content/vimperator/commands.js +++ b/chrome/content/vimperator/commands.js @@ -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",