From e776a35e6f7ecaecd26c968e79c51e7c34b06191 Mon Sep 17 00:00:00 2001 From: Kris Maglione Date: Sun, 13 Feb 2011 23:33:35 -0500 Subject: [PATCH] Closes issue #376. --- common/content/hints.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/content/hints.js b/common/content/hints.js index 18dceb2a..5511449c 100644 --- a/common/content/hints.js +++ b/common/content/hints.js @@ -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(); });