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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user