diff options
author | FranklinDM <mrmineshafter17@gmail.com> | 2019-07-05 17:50:00 +0800 |
---|---|---|
committer | FranklinDM <mrmineshafter17@gmail.com> | 2019-07-05 17:50:00 +0800 |
commit | 37b7dc7d229117e26df3ca78371e7152e9b67b75 (patch) | |
tree | c853a7cddb31ffe66400cc1fee4dd1580f76f2e3 | |
parent | 427ec7266fc5fc84ec7713dc382ba6e98c196c03 (diff) | |
download | uxp-37b7dc7d229117e26df3ca78371e7152e9b67b75.tar.gz |
Issue mcp-graveyard/UXP#1158 - Reinstate `tabcontainer` variable
- This was erroneously removed in commit 1f5194b5f1deb0f36b36ed886d94ce5f8b62ca9d because it is still being used by surrounding code.
-rw-r--r-- | application/basilisk/base/content/tabbrowser.xml | 2 |
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); |