タブを切り替えられなくなっていた

git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@7207 599a83e7-65a4-db11-8015-0010dcdd6dc2
This commit is contained in:
piro 2010-09-15 02:58:36 +00:00
parent bd69ffca98
commit d06b7900f9

View File

@ -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();
},