[Pkg-mozext-commits] [tabmixplus] 100/147: Add missing curly brackets

David Prévot taffit at moszumanska.debian.org
Sat Aug 5 15:27:41 UTC 2017


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository tabmixplus.

commit 210a51d27626361b582611879fa04585ffe14cf1
Author: onemen <tabmix.onemen at gmail.com>
Date:   Tue Jan 24 15:04:56 2017 +0200

    Add missing curly brackets
---
 chrome/content/tabmix.js | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/chrome/content/tabmix.js b/chrome/content/tabmix.js
index 05364d7..89bf3c9 100644
--- a/chrome/content/tabmix.js
+++ b/chrome/content/tabmix.js
@@ -316,15 +316,16 @@ var TMP_eventListener = {
   _onLoad: function TMP_EL_onContentLoaded(aType) {
     window.removeEventListener(aType, this);
     let wintype = window.document.documentElement.getAttribute("windowtype");
-    if (wintype == "navigator:browser")
+    if (wintype == "navigator:browser") {
       if (aType != "load") {
         Tabmix.initialization.run("onContentLoaded");
         Tabmix.initialization.run("beforeBrowserInitOnLoad");
       } else {
         Tabmix.initialization.run("onWindowOpen");
       }
-    else if (aType != "load")
+    } else if (aType != "load") {
       window.removeEventListener("load", this);
+    }
   },
 
   onContentLoaded: function TMP_EL_onContentLoaded() {

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/tabmixplus.git



More information about the Pkg-mozext-commits mailing list