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

Detimeoutify hints. Closes issue #468.

This commit is contained in:
Kris Maglione
2011-07-27 09:38:55 -04:00
parent f220206df5
commit fda9475c6e

View File

@@ -508,13 +508,14 @@ var HintSession = Class("HintSession", CommandMode, {
modes.push(modes.IGNORE, modes.HINTS);
}
this.timeout(function () {
if ((modes.extended & modes.HINTS) && !this.continue)
modes.pop();
commandline.lastEcho = null; // Hack.
dactyl.trapErrors("action", this.hintMode,
elem, elem.href || elem.src || "",
this.extendedhintCount, top);
this.timeout(function () {
if (modes.main == modes.IGNORE && !this.continue)
modes.pop();
commandline.lastEcho = null; // Hack.
if (this.continue && this.top)
this.show();
}, timeout);