From 2cf5432a88f28ac4947a9ab05bcdb530c491616f Mon Sep 17 00:00:00 2001 From: piro Date: Wed, 15 Sep 2010 00:34:28 +0000 Subject: [PATCH] =?UTF-8?q?=E3=82=BF=E3=83=96=E3=83=90=E3=83=BC=E3=82=92?= =?UTF-8?q?=E3=83=89=E3=83=A9=E3=83=83=E3=82=B0=EF=BC=86=E3=83=89=E3=83=AD?= =?UTF-8?q?=E3=83=83=E3=83=97=E3=81=A7=E7=A7=BB=E5=8B=95=E3=81=A7=E3=81=8D?= =?UTF-8?q?=E3=82=8B=E5=B1=80=E9=9D=A2=E3=81=A8=E3=80=81=E3=82=BF=E3=83=96?= =?UTF-8?q?=E3=83=90=E3=83=BC=E3=81=8C=E4=B8=8A=E4=BB=A5=E5=A4=96=E3=81=AE?= =?UTF-8?q?=E5=A0=B4=E6=89=80=E3=81=AB=E7=BD=AE=E3=81=8B=E3=82=8C=E3=81=A6?= =?UTF-8?q?=E3=81=84=E3=82=8B=E6=99=82=E3=81=AF=E3=80=81=E5=B8=B8=E3=81=AB?= =?UTF-8?q?=E3=82=BF=E3=82=A4=E3=83=88=E3=83=AB=E3=83=90=E3=83=BC=E7=9A=84?= =?UTF-8?q?=E3=81=AA=E6=8C=99=E5=8B=95=E3=82=92=E7=84=A1=E5=8A=B9=E5=8C=96?= =?UTF-8?q?=E3=81=99=E3=82=8B=E3=82=88=E3=81=86=E3=81=AB=E3=81=97=E3=81=9F?= =?UTF-8?q?=EF=BC=88=20http://piro.sakura.ne.jp/cgi-bin/bbs.cgi=3F2769=20?= =?UTF-8?q?=EF=BC=89?= 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@7204 599a83e7-65a4-db11-8015-0010dcdd6dc2 --- content/treestyletab/treestyletabbrowser.js | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/content/treestyletab/treestyletabbrowser.js b/content/treestyletab/treestyletabbrowser.js index 072eef78..12faf3cc 100644 --- a/content/treestyletab/treestyletabbrowser.js +++ b/content/treestyletab/treestyletabbrowser.js @@ -3031,16 +3031,11 @@ TreeStyleTabBrowser.prototype = { { // block default behaviors of the tab bar (dragging => window move, etc.) if ( - 'TabsOnTop' in window && - ( - this.currentTabbarPosition != 'top' || - !TabsOnTop.enabled || - aEvent.shiftKey - ) && + this.currentTabbarPosition != 'top' || + aEvent.shiftKey || this.tabbarDNDObserver.canDragTabbar(aEvent) - ) { + ) aEvent.stopPropagation(); - } }, onMouseDown : function TSTBrowser_onMouseDown(aEvent)