mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-22 21:07:59 +01:00
fixed hints
This commit is contained in:
@@ -334,7 +334,7 @@ vimperator.Hints = function () //{{{
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
var activeIndex = hintNumber - 1 || 0;
|
var activeIndex = (hintNumber ? hintNumber - 1 : 0);
|
||||||
var elem = validHints[activeIndex];
|
var elem = validHints[activeIndex];
|
||||||
var loc = elem.href || "";
|
var loc = elem.href || "";
|
||||||
switch (submode)
|
switch (submode)
|
||||||
@@ -357,6 +357,7 @@ vimperator.Hints = function () //{{{
|
|||||||
default:
|
default:
|
||||||
vimperator.echoerr("INTERNAL ERROR: unknown submode: " + submode);
|
vimperator.echoerr("INTERNAL ERROR: unknown submode: " + submode);
|
||||||
}
|
}
|
||||||
|
dump("3\n");
|
||||||
|
|
||||||
var timeout = followFirst ? 0 : 500;
|
var timeout = followFirst ? 0 : 500;
|
||||||
removeHints(timeout);
|
removeHints(timeout);
|
||||||
|
|||||||
Reference in New Issue
Block a user