From 51bf4b3df415e4f7993da8f5f8499e9b029202ec Mon Sep 17 00:00:00 2001 From: FranklinDM Date: Fri, 5 Jul 2019 17:50:00 +0800 Subject: Issue #1158 - Reinstate `tabcontainer` variable - This was erroneously removed in commit 1f5194b5f1deb0f36b36ed886d94ce5f8b62ca9d because it is still being used by surrounding code. --- application/basilisk/base/content/tabbrowser.xml | 2 ++ 1 file changed, 2 insertions(+) (limited to 'application') diff --git a/application/basilisk/base/content/tabbrowser.xml b/application/basilisk/base/content/tabbrowser.xml index e64ebb1e6..85f923923 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); -- cgit v1.2.3