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

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,10 +3005,14 @@ TreeStyleTabBrowser.prototype = {
{ {
// block default behaviors of the tab bar (dragging => window move, etc.) // block default behaviors of the tab bar (dragging => window move, etc.)
if ( if (
!this.getTabFromEvent(aEvent) &&
!this.isEventFiredOnClickable(aEvent) &&
(
this.currentTabbarPosition != 'top' || this.currentTabbarPosition != 'top' ||
aEvent.shiftKey || aEvent.shiftKey ||
this.tabbarDNDObserver.canDragTabbar(aEvent) this.tabbarDNDObserver.canDragTabbar(aEvent)
) )
)
aEvent.stopPropagation(); aEvent.stopPropagation();
}, },