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

sukhbir at torproject.org sukhbir at torproject.org
Fri Nov 25 05:54:48 UTC 2016


commit 440ee19bb444405152b2934d0b3d582fb3d9c02f
Author: Sukhbir Singh <sukhbir at torproject.org>
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");





More information about the tor-commits mailing list