From 9483d99e54b1990b044e52c13fdf59b36ef7582a Mon Sep 17 00:00:00 2001 From: Kris Maglione Date: Wed, 27 Jul 2011 12:51:13 -0400 Subject: [PATCH] Closes issue #609. --- common/content/hints.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/content/hints.js b/common/content/hints.js index e7b7622c..f17f32f7 100644 --- a/common/content/hints.js +++ b/common/content/hints.js @@ -298,7 +298,7 @@ var HintSession = Class("HintSession", CommandMode, { return false; if (!rect.width || !rect.height) - if (!Array.some(elem.childNodes, function (elem) util.computedStyle(elem).float != "none" && isVisible(elem))) + if (!Array.some(elem.childNodes, function (elem) elem instanceof Element && util.computedStyle(elem).float != "none" && isVisible(elem))) return false; let computedStyle = doc.defaultView.getComputedStyle(elem, null);