mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-20 03:47:58 +01:00
Closes issue #376.
This commit is contained in:
@@ -465,7 +465,7 @@ var HintSession = Class("HintSession", CommandMode, {
|
||||
}
|
||||
|
||||
this.timeout(function () {
|
||||
if ((modes.extended & modes.HINTS) && !this.continue)
|
||||
if (isinstance(modes.main, modes.HINTS) && !this.continue)
|
||||
modes.pop();
|
||||
commandline.lastEcho = null; // Hack.
|
||||
dactyl.trapErrors("action", this.hintMode,
|
||||
@@ -671,7 +671,7 @@ var HintSession = Class("HintSession", CommandMode, {
|
||||
var Hints = Module("hints", {
|
||||
init: function init() {
|
||||
this.resizeTimer = Timer(100, 500, function () {
|
||||
if (modes.extended & modes.HINTS)
|
||||
if (isinstance(modes.main, modes.HINTS))
|
||||
modes.getStack(0).params.onResize();
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user