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 | 51bf4b3df415e4f7993da8f5f8499e9b029202ec (patch) | |
tree | c853a7cddb31ffe66400cc1fee4dd1580f76f2e3 /application | |
parent | 281b66c7a2899380e03a0399a0d5f1ab51b3f3a0 (diff) | |
download | UXP-51bf4b3df415e4f7993da8f5f8499e9b029202ec.tar UXP-51bf4b3df415e4f7993da8f5f8499e9b029202ec.tar.gz UXP-51bf4b3df415e4f7993da8f5f8499e9b029202ec.tar.lz UXP-51bf4b3df415e4f7993da8f5f8499e9b029202ec.tar.xz UXP-51bf4b3df415e4f7993da8f5f8499e9b029202ec.zip |
Issue #1158 - Reinstate `tabcontainer` variable
- This was erroneously removed in commit 1f5194b5f1deb0f36b36ed886d94ce5f8b62ca9d because it is still being used by surrounding code.
Diffstat (limited to 'application')
-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 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); |