[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [torbirdy/develop] Improve code formatting



commit 440ee19bb444405152b2934d0b3d582fb3d9c02f
Author: Sukhbir Singh <sukhbir@xxxxxxxxxxxxxx>
Date:   Mon Jun 6 00:59:27 2016 -0400

    Improve code formatting
---
 chrome/content/emailwizard.js | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/chrome/content/emailwizard.js b/chrome/content/emailwizard.js
index 0c50e6f..2c0828a 100644
--- a/chrome/content/emailwizard.js
+++ b/chrome/content/emailwizard.js
@@ -140,11 +140,15 @@ if(!org.torbirdy.emailwizard) org.torbirdy.emailwizard = new function() {
       gEmailConfigWizard.displayConfigResult = function(config) {
         old_displayConfigResult.call(this, config);
         var radiogroup = document.getElementById("result_imappop");
-        if (radiogroup.hidden) return;
+        if (radiogroup.hidden) {
+          return;
+        }
         // We can only run the monkeypatch code below once -- this
         // method is called every time we change selection, preventing
         // us from changing the selection away from POP.
-        if (result_imappop_hacks_run_once) return;
+        if (result_imappop_hacks_run_once) {
+          return;
+        }
         result_imappop_hacks_run_once = true;
         var imap_element = document.getElementById("result_select_imap");
         var pop_element = document.getElementById("result_select_pop3");



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits