Merge pull request #373 from saneyuki/fix

Fix the order of parameters.
This commit is contained in:
YUKI "Piro" Hiroshi 2012-09-23 05:48:08 -07:00
commit c4ec29fef5

View File

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