タブを切り替えられなくなっていた
git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@7207 599a83e7-65a4-db11-8015-0010dcdd6dc2
This commit is contained in:
parent
bd69ffca98
commit
d06b7900f9
@ -3005,9 +3005,13 @@ 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.currentTabbarPosition != 'top' ||
|
!this.getTabFromEvent(aEvent) &&
|
||||||
aEvent.shiftKey ||
|
!this.isEventFiredOnClickable(aEvent) &&
|
||||||
this.tabbarDNDObserver.canDragTabbar(aEvent)
|
(
|
||||||
|
this.currentTabbarPosition != 'top' ||
|
||||||
|
aEvent.shiftKey ||
|
||||||
|
this.tabbarDNDObserver.canDragTabbar(aEvent)
|
||||||
|
)
|
||||||
)
|
)
|
||||||
aEvent.stopPropagation();
|
aEvent.stopPropagation();
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user