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 | 281b66c7a2899380e03a0399a0d5f1ab51b3f3a0 (patch) | |
tree | 25d505705bdf21d02b9b903a4de48dfe647bbe49 /application/basilisk | |
parent | 28439778f7146b62331e7769d33676bd7c44c68c (diff) | |
download | UXP-281b66c7a2899380e03a0399a0d5f1ab51b3f3a0.tar UXP-281b66c7a2899380e03a0399a0d5f1ab51b3f3a0.tar.gz UXP-281b66c7a2899380e03a0399a0d5f1ab51b3f3a0.tar.lz UXP-281b66c7a2899380e03a0399a0d5f1ab51b3f3a0.tar.xz UXP-281b66c7a2899380e03a0399a0d5f1ab51b3f3a0.zip |
Issue #1158 - Remove extraneous closing brace
- This also adjusts code indentation
Diffstat (limited to 'application/basilisk')
-rw-r--r-- | application/basilisk/base/content/tabbrowser.xml | 27 |
1 files changed, 13 insertions, 14 deletions
diff --git a/application/basilisk/base/content/tabbrowser.xml b/application/basilisk/base/content/tabbrowser.xml index 0e819a3ed..e64ebb1e6 100644 --- a/application/basilisk/base/content/tabbrowser.xml +++ b/application/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"> |