From d06b7900f90f89a5b68e417c38e06778e99f43b3 Mon Sep 17 00:00:00 2001 From: piro Date: Wed, 15 Sep 2010 02:58:36 +0000 Subject: [PATCH] =?UTF-8?q?=E3=82=BF=E3=83=96=E3=82=92=E5=88=87=E3=82=8A?= =?UTF-8?q?=E6=9B=BF=E3=81=88=E3=82=89=E3=82=8C=E3=81=AA=E3=81=8F=E3=81=AA?= =?UTF-8?q?=E3=81=A3=E3=81=A6=E3=81=84=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@7207 599a83e7-65a4-db11-8015-0010dcdd6dc2 --- content/treestyletab/treestyletabbrowser.js | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/content/treestyletab/treestyletabbrowser.js b/content/treestyletab/treestyletabbrowser.js index 2103e015..ea09a611 100644 --- a/content/treestyletab/treestyletabbrowser.js +++ b/content/treestyletab/treestyletabbrowser.js @@ -3005,9 +3005,13 @@ TreeStyleTabBrowser.prototype = { { // block default behaviors of the tab bar (dragging => window move, etc.) if ( - this.currentTabbarPosition != 'top' || - aEvent.shiftKey || - this.tabbarDNDObserver.canDragTabbar(aEvent) + !this.getTabFromEvent(aEvent) && + !this.isEventFiredOnClickable(aEvent) && + ( + this.currentTabbarPosition != 'top' || + aEvent.shiftKey || + this.tabbarDNDObserver.canDragTabbar(aEvent) + ) ) aEvent.stopPropagation(); },