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

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



commit 9b75deeba42e6e7e94cc5acf6e74651d04f63c10
Author: anonym <anonym@xxxxxxxxxx>
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;



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