From a62fff53ef3f626dbcbb687f1aa92023127281b1 Mon Sep 17 00:00:00 2001 From: "silver%warwickcompsoc.co.uk" Date: Sat, 22 Aug 2009 16:25:30 +0000 Subject: [PATCH] Bug 494074 - Don't consider the documentElement when looking for items to get tooltip text from (fixed fallout from bug 118704). ChatZilla only. r=gijs git-svn-id: svn://10.0.0.236/trunk@258199 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/extensions/irc/xul/content/handlers.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mozilla/extensions/irc/xul/content/handlers.js b/mozilla/extensions/irc/xul/content/handlers.js index 0d139806526..da317eadbc9 100644 --- a/mozilla/extensions/irc/xul/content/handlers.js +++ b/mozilla/extensions/irc/xul/content/handlers.js @@ -310,7 +310,7 @@ function onTooltip(event) var XLinkTitleText = null; var element = document.tooltipNode; - while (element) + while (element && (element != document.documentElement)) { if (element.nodeType == Node.ELEMENT_NODE) {