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

fixed hints

This commit is contained in:
Martin Stubenschrott
2008-01-05 21:58:11 +00:00
parent 17fafa17dd
commit 642ac2ba27

View File

@@ -334,7 +334,7 @@ vimperator.Hints = function () //{{{
return false;
}
var activeIndex = hintNumber - 1 || 0;
var activeIndex = (hintNumber ? hintNumber - 1 : 0);
var elem = validHints[activeIndex];
var loc = elem.href || "";
switch (submode)
@@ -357,6 +357,7 @@ vimperator.Hints = function () //{{{
default:
vimperator.echoerr("INTERNAL ERROR: unknown submode: " + submode);
}
dump("3\n");
var timeout = followFirst ? 0 : 500;
removeHints(timeout);