From c96c4047de477e92deb386809c7f121d15b60352 Mon Sep 17 00:00:00 2001 From: piro Date: Thu, 22 Apr 2010 08:24:36 +0000 Subject: [PATCH] =?UTF-8?q?Minefield=203.7a5pre=E3=81=A7=E4=B8=80=E9=83=A8?= =?UTF-8?q?=E3=81=AE=E3=82=B3=E3=83=B3=E3=83=86=E3=82=AD=E3=82=B9=E3=83=88?= =?UTF-8?q?=E3=83=A1=E3=83=8B=E3=83=A5=E3=83=BC=E3=81=AE=E9=A0=85=E7=9B=AE?= =?UTF-8?q?=E3=81=8C=E6=A9=9F=E8=83=BD=E3=81=97=E3=81=AA=E3=81=84=E5=95=8F?= =?UTF-8?q?=E9=A1=8C=E3=82=92=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@6606 599a83e7-65a4-db11-8015-0010dcdd6dc2 --- modules/utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/utils.js b/modules/utils.js index 13785723..c5bca8a3 100644 --- a/modules/utils.js +++ b/modules/utils.js @@ -851,7 +851,7 @@ var TreeStyleTabUtils = { aTabBrowserChild, Ci.nsIDOMXPathResult.FIRST_ORDERED_NODE_TYPE ).singleNodeValue; - if (popup && 'TabContextMenu' in window) + if (popup && 'TabContextMenu' in aTabBrowserChild.ownerDocument.defaultView) return this.getTabBrowserFromChild(TabContextMenu.contextTab); var b = this.evaluateXPath(