[tor-commits] [torbirdy/master] Simplify.

sukhbir at torproject.org sukhbir at torproject.org
Wed May 4 17:25:02 UTC 2016


commit 9b75deeba42e6e7e94cc5acf6e74651d04f63c10
Author: anonym <anonym at riseup.net>
Date:   Wed Mar 9 20:16:59 2016 +0100

    Simplify.
---
 chrome/content/emailwizard.js | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/chrome/content/emailwizard.js b/chrome/content/emailwizard.js
index 3352fb9..d5adc85 100644
--- a/chrome/content/emailwizard.js
+++ b/chrome/content/emailwizard.js
@@ -6,10 +6,7 @@ if (!org.torbirdy) org.torbirdy = {};
 if(!org.torbirdy.emailwizard) org.torbirdy.emailwizard = new function() {
   var pub = {};
 
-  var disableWizard = false;
-  if (Preferences.get("extensions.torbirdy.emailwizard", false)) {
-    disableWizard = true;
-  }
+  var disableWizard = !Preferences.get("extensions.torbirdy.emailwizard", false);
 
   fixupTorbirdySettingsOnNewAccount = function(account) {
     var idkey = account.defaultIdentity.key;





More information about the tor-commits mailing list