summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--application/basilisk/base/content/tabbrowser.xml2
1 files changed, 2 insertions, 0 deletions
diff --git a/application/basilisk/base/content/tabbrowser.xml b/application/basilisk/base/content/tabbrowser.xml
index e64ebb1e6c..85f9239237 100644
--- a/application/basilisk/base/content/tabbrowser.xml
+++ b/application/basilisk/base/content/tabbrowser.xml
@@ -6909,6 +6909,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);