mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-20 10:17:59 +01:00
Detimeoutify hints. Closes issue #468.
This commit is contained in:
@@ -508,13 +508,14 @@ var HintSession = Class("HintSession", CommandMode, {
|
|||||||
modes.push(modes.IGNORE, modes.HINTS);
|
modes.push(modes.IGNORE, modes.HINTS);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
dactyl.trapErrors("action", this.hintMode,
|
||||||
|
elem, elem.href || elem.src || "",
|
||||||
|
this.extendedhintCount, top);
|
||||||
|
|
||||||
this.timeout(function () {
|
this.timeout(function () {
|
||||||
if ((modes.extended & modes.HINTS) && !this.continue)
|
if (modes.main == modes.IGNORE && !this.continue)
|
||||||
modes.pop();
|
modes.pop();
|
||||||
commandline.lastEcho = null; // Hack.
|
commandline.lastEcho = null; // Hack.
|
||||||
dactyl.trapErrors("action", this.hintMode,
|
|
||||||
elem, elem.href || elem.src || "",
|
|
||||||
this.extendedhintCount, top);
|
|
||||||
if (this.continue && this.top)
|
if (this.continue && this.top)
|
||||||
this.show();
|
this.show();
|
||||||
}, timeout);
|
}, timeout);
|
||||||
|
|||||||
Reference in New Issue
Block a user