summaryrefslogtreecommitdiffstats
path: root/application/basilisk/base
diff options
context:
space:
mode:
authorFranklinDM <mrmineshafter17@gmail.com>2019-07-05 17:50:00 +0800
committerFranklinDM <mrmineshafter17@gmail.com>2019-07-05 17:50:00 +0800
commit51bf4b3df415e4f7993da8f5f8499e9b029202ec (patch)
treec853a7cddb31ffe66400cc1fee4dd1580f76f2e3 /application/basilisk/base
parent281b66c7a2899380e03a0399a0d5f1ab51b3f3a0 (diff)
downloadUXP-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/basilisk/base')
-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 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);