1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-22 22:08:00 +01:00

fixed timeout when changing from HINTS mode

This commit is contained in:
Martin Stubenschrott
2007-12-12 06:00:38 +00:00
parent 9f56b8d7f5
commit 347f12e559
4 changed files with 12 additions and 9 deletions

View File

@@ -779,7 +779,8 @@ vimperator.Events = function () //{{{
if (flags & Components.interfaces.nsIWebProgressListener.STATE_START)
{
vimperator.statusline.updateProgress(0);
vimperator.modes.reset(false);
setTimeout (function () { vimperator.modes.reset(false); },
vimperator.mode == vimperator.modes.HINTS ? 500 : 0);
}
else if (flags & Components.interfaces.nsIWebProgressListener.STATE_STOP)
;// vimperator.statusline.updateUrl();