From 647a00ac43bc1793ac247bfc1f3a0a0ac8f6e974 Mon Sep 17 00:00:00 2001 From: piro Date: Wed, 14 Nov 2007 12:34:36 +0000 Subject: [PATCH] =?UTF-8?q?=E3=82=BF=E3=83=96=E3=83=90=E3=83=BC=E3=81=8C?= =?UTF-8?q?=E6=A8=AA=E7=BD=AE=E3=81=8D=E7=8A=B6=E6=85=8B=E3=81=AE=E6=99=82?= =?UTF-8?q?=E3=81=AF=E3=80=81Twisty=E4=BB=A5=E5=A4=96=E3=81=AE=E9=83=A8?= =?UTF-8?q?=E5=88=86=E3=82=92=E3=82=AF=E3=83=AA=E3=83=83=E3=82=AF=E3=81=97?= =?UTF-8?q?=E3=81=A6=E3=82=82=E3=82=B5=E3=83=96=E3=83=84=E3=83=AA=E3=83=BC?= =?UTF-8?q?=E3=82=92=E9=96=8B=E9=96=89=E3=81=97=E3=81=AA=E3=81=84=E3=82=88?= =?UTF-8?q?=E3=81=86=E3=81=AB=E3=81=97=E3=81=9F?= 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@1580 599a83e7-65a4-db11-8015-0010dcdd6dc2 --- content/treestyletab/treestyletab.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/treestyletab/treestyletab.js b/content/treestyletab/treestyletab.js index 9f63648a..c935987c 100644 --- a/content/treestyletab/treestyletab.js +++ b/content/treestyletab/treestyletab.js @@ -258,7 +258,7 @@ var TreeStyleTabService = { if (!tab) return false; return tab.hasAttribute(this.kCHILDREN) && this.evaluateXPath( - 'ancestor-or-self::*[@class="'+this.kTWISTY+'" or @class="tab-icon"]', + 'ancestor-or-self::*[@class="'+this.kTWISTY+'" or (ancestor::xul:tabbrowser[@'+this.kMODE+'="vertical"] and @class="tab-icon")]', aEvent.originalTarget || aEvent.target, XPathResult.FIRST_ORDERED_NODE_TYPE ).singleNodeValue ? true : false ;