Fix the order of parameters.
This commit is contained in:
parent
bf068dfdab
commit
f05c10f5ef
@ -1298,8 +1298,8 @@ var TreeStyleTabUtils = {
|
|||||||
return (strip && strip instanceof Ci.nsIDOMElement) ?
|
return (strip && strip instanceof Ci.nsIDOMElement) ?
|
||||||
strip :
|
strip :
|
||||||
this.evaluateXPath(
|
this.evaluateXPath(
|
||||||
aTabBrowser.tabContainer,
|
|
||||||
'ancestor::xul:toolbar[1]',
|
'ancestor::xul:toolbar[1]',
|
||||||
|
aTabBrowser.tabContainer,
|
||||||
Ci.nsIDOMXPathResult.FIRST_ORDERED_NODE_TYPE
|
Ci.nsIDOMXPathResult.FIRST_ORDERED_NODE_TYPE
|
||||||
).singleNodeValue || aTabBrowser.tabContainer.parentNode;
|
).singleNodeValue || aTabBrowser.tabContainer.parentNode;
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user