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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user