diff --git a/modules/browser.js b/modules/browser.js index 3d46bedb..9e15bd15 100644 --- a/modules/browser.js +++ b/modules/browser.js @@ -5373,7 +5373,7 @@ TreeStyleTabBrowser.prototype = { expandedParentTabs = expandedParentTabs.join('|'); var xpathResult = this.evaluateXPath( - 'child::xul:tab[@'+this.kCHILDREN+' and not(@'+this.kCOLLAPSED+'="true") and not(@'+this.kSUBTREE_COLLAPSED+'="true") and @'+this.kID+' and not(contains("'+expandedParentTabs+'", @'+this.kID+'))]', + 'child::xul:tab[@'+this.kCHILDREN+' and not(@'+this.kCOLLAPSED+'="true") and not(@'+this.kSUBTREE_COLLAPSED+'="true") and @'+this.kID+' and not(contains("'+expandedParentTabs+'", @'+this.kID+')) and not(@hidden="true")]', b.mTabContainer ); var collapseTab;