1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-03 14:24:13 +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);
tabcontainer.addEventListener("TabSelect", function (event)
{
if (vimperator.mode == vimperator.modes.HINTS || vimperator.mode == vimperator.modes.CUSTOM )
vimperator.modes.reset();
// TODO: is all of that necessary?
vimperator.modes.reset();
vimperator.commandline.clear();
vimperator.modes.show();
vimperator.statusline.updateTabCount();