diff --git a/chrome/content/vimperator/commands.js b/chrome/content/vimperator/commands.js index 2d2ab225..d3f0b838 100644 --- a/chrome/content/vimperator/commands.js +++ b/chrome/content/vimperator/commands.js @@ -1123,6 +1123,10 @@ function Commands() //{{{ return; } + // do nothing if the requested sidebar is already open + if (document.getElementById("sidebar-title").value == args) + return; + var menu = document.getElementById("viewSidebarMenu") for (var i = 0; i < menu.childNodes.length; i++)