simplify
This commit is contained in:
parent
b80e90091f
commit
7b7c7ba5e8
@ -840,15 +840,9 @@ catch(e) {
|
|||||||
|
|
||||||
onDragLeave : function TabbarDND_onDragLeave(aEvent)
|
onDragLeave : function TabbarDND_onDragLeave(aEvent)
|
||||||
{
|
{
|
||||||
var sv = this.treeStyleTab;
|
|
||||||
var b = this.browser;
|
|
||||||
var w = this.window;
|
|
||||||
|
|
||||||
var tabbarFromEvent = sv.getTabbarFromChild(aEvent.relatedTarget);
|
|
||||||
if (!tabbarFromEvent)
|
|
||||||
this.clearDropPosition();
|
this.clearDropPosition();
|
||||||
|
|
||||||
w.clearTimeout(this.mAutoExpandTimer);
|
this.window.clearTimeout(this.mAutoExpandTimer);
|
||||||
this.mAutoExpandTimer = null;
|
this.mAutoExpandTimer = null;
|
||||||
},
|
},
|
||||||
|
|
||||||
@ -975,11 +969,6 @@ try{
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!info.target || info.target != sv.evaluateXPath(
|
|
||||||
'child::xul:tab[@'+sv.kDROP_POSITION+']',
|
|
||||||
b.mTabContainer,
|
|
||||||
Ci.nsIDOMXPathResult.FIRST_ORDERED_NODE_TYPE
|
|
||||||
).singleNodeValue)
|
|
||||||
this.clearDropPosition();
|
this.clearDropPosition();
|
||||||
|
|
||||||
if (
|
if (
|
||||||
|
Loading…
Reference in New Issue
Block a user