diff --git a/chrome/content/vimperator/commands.js b/chrome/content/vimperator/commands.js index a2d069cb..da146378 100644 --- a/chrome/content/vimperator/commands.js +++ b/chrome/content/vimperator/commands.js @@ -1192,6 +1192,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++)