Merge branch 'master' of github.com:piroor/treestyletab

This commit is contained in:
Piro / YUKI Hiroshi 2012-09-23 23:44:56 +09:00
commit f9f346f522

View File

@ -1298,8 +1298,8 @@ var TreeStyleTabUtils = {
return (strip && strip instanceof Ci.nsIDOMElement) ?
strip :
this.evaluateXPath(
aTabBrowser.tabContainer,
'ancestor::xul:toolbar[1]',
aTabBrowser.tabContainer,
Ci.nsIDOMXPathResult.FIRST_ORDERED_NODE_TYPE
).singleNodeValue || aTabBrowser.tabContainer.parentNode;
},