1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-03-28 15:23:33 +01:00

fix for cursor being stuck in command line when switching tabs

This commit is contained in:
Martin Stubenschrott
2008-01-06 02:14:09 +00:00
parent 43038f7566
commit 21b8064322

View File

@@ -202,9 +202,8 @@ vimperator.Events = function () //{{{
}, false); }, false);
tabcontainer.addEventListener("TabSelect", function (event) tabcontainer.addEventListener("TabSelect", function (event)
{ {
if (vimperator.mode == vimperator.modes.HINTS || vimperator.mode == vimperator.modes.CUSTOM ) // TODO: is all of that necessary?
vimperator.modes.reset(); vimperator.modes.reset();
vimperator.commandline.clear(); vimperator.commandline.clear();
vimperator.modes.show(); vimperator.modes.show();
vimperator.statusline.updateTabCount(); vimperator.statusline.updateTabCount();