mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-22 15:48:00 +01:00
many small fixes to the hints, and some minor mode handling changes
This commit is contained in:
@@ -102,6 +102,10 @@ vimperator.modes = (function()
|
||||
case vimperator.modes.HINTS:
|
||||
vimperator.hints.hide();
|
||||
break;
|
||||
|
||||
case vimperator.modes.COMMAND_LINE:
|
||||
vimperator.commandline.close();
|
||||
break;
|
||||
}
|
||||
|
||||
if (newmode == vimperator.modes.NORMAL)
|
||||
@@ -112,8 +116,7 @@ vimperator.modes = (function()
|
||||
vimperator.options.setFirefoxPref("accessibility.browsewithcaret", false);
|
||||
|
||||
vimperator.statusline.updateUrl();
|
||||
// XXX: auto-focusing breaks hints partly, find a good solution
|
||||
vimperator.focusContent();
|
||||
vimperator.focusContent(false);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user