summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--base/content/tabbrowser.xml3
1 files changed, 2 insertions, 1 deletions
diff --git a/base/content/tabbrowser.xml b/base/content/tabbrowser.xml
index 68c77ed..4d0d783 100644
--- a/base/content/tabbrowser.xml
+++ b/base/content/tabbrowser.xml
@@ -6908,6 +6908,8 @@
document.getElementById("alltabs_undoCloseTab").disabled =
SessionStore.getClosedTabCount(window) == 0;
+ var tabcontainer = gBrowser.tabContainer;
+
// Listen for changes in the tab bar.
tabcontainer.addEventListener("TabAttrModified", this, false);
tabcontainer.addEventListener("TabClose", this, false);
@@ -6919,7 +6921,6 @@
this._createTabMenuItem(tabs[i]);
}
this._updateTabsVisibilityStatus();
- }
]]></handler>
<handler event="popuphidden">