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

Closes issue #376.

This commit is contained in:
Kris Maglione
2011-02-13 23:33:35 -05:00
parent 1d2965bebb
commit e776a35e6f

View File

@@ -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();
});