diff options
author | FranklinDM <mrmineshafter17@gmail.com> | 2019-07-05 17:32:17 +0800 |
---|---|---|
committer | FranklinDM <mrmineshafter17@gmail.com> | 2019-07-05 17:32:17 +0800 |
commit | 615c4e82531ebdae1a523bc63247769544da1f6c (patch) | |
tree | 3e4f35d305817a321ddc9176b7077299e288e508 | |
parent | 78b151e57706abce07d34f9f982a05584d844fc4 (diff) | |
download | basilisk-615c4e82531ebdae1a523bc63247769544da1f6c.tar.gz |
Issue MoonchildProductions/UXP#1158 - Remove extraneous closing brace
- This also adjusts code indentation
-rw-r--r-- | basilisk/base/content/tabbrowser.xml | 27 |
1 files changed, 13 insertions, 14 deletions
diff --git a/basilisk/base/content/tabbrowser.xml b/basilisk/base/content/tabbrowser.xml index 0e819a3..e64ebb1 100644 --- a/basilisk/base/content/tabbrowser.xml +++ b/basilisk/base/content/tabbrowser.xml @@ -6906,21 +6906,20 @@ <handlers> <handler event="popupshowing"> <![CDATA[ - document.getElementById("alltabs_undoCloseTab").disabled = - SessionStore.getClosedTabCount(window) == 0; - - // Listen for changes in the tab bar. - tabcontainer.addEventListener("TabAttrModified", this, false); - tabcontainer.addEventListener("TabClose", this, false); - tabcontainer.mTabstrip.addEventListener("scroll", this, false); - - let tabs = gBrowser.visibleTabs; - for (var i = 0; i < tabs.length; i++) { - if (!tabs[i].pinned) - this._createTabMenuItem(tabs[i]); - } - this._updateTabsVisibilityStatus(); + document.getElementById("alltabs_undoCloseTab").disabled = + SessionStore.getClosedTabCount(window) == 0; + + // Listen for changes in the tab bar. + tabcontainer.addEventListener("TabAttrModified", this, false); + tabcontainer.addEventListener("TabClose", this, false); + tabcontainer.mTabstrip.addEventListener("scroll", this, false); + + let tabs = gBrowser.visibleTabs; + for (var i = 0; i < tabs.length; i++) { + if (!tabs[i].pinned) + this._createTabMenuItem(tabs[i]); } + this._updateTabsVisibilityStatus(); ]]></handler> <handler event="popuphidden"> |