diff --git a/modules/browser.js b/modules/browser.js index 8bc8abb3..23c5696e 100644 --- a/modules/browser.js +++ b/modules/browser.js @@ -3906,7 +3906,7 @@ TreeStyleTabBrowser.prototype = { // close all tabs but this tree let removeAllTabsBut = items[this.kMENUITEM_REMOVEALLTABSBUT]; - if (remoteAllTabsBug) { + if (removeAllTabsBut) { let rootTabs = this.visibleRootTabs; if (rootTabs.length == 1 && rootTabs[0] == b.mContextTab) removeAllTabsBut.setAttribute('disabled', true);