[Pkg-privacy-commits] [torbirdy] 13/53: Improve variable name.

Ulrike Uhlig u-guest at moszumanska.debian.org
Sat Jul 2 20:08:05 UTC 2016


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

u-guest pushed a commit to annotated tag 0.2.0
in repository torbirdy.

commit a229be9aef54736b38ff224b6d7283e5fade3a42
Author: anonym <anonym at riseup.net>
Date:   Wed Mar 9 20:18:35 2016 +0100

    Improve variable name.
---
 chrome/content/emailwizard.js | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/chrome/content/emailwizard.js b/chrome/content/emailwizard.js
index d5adc85..fc2d48e 100644
--- a/chrome/content/emailwizard.js
+++ b/chrome/content/emailwizard.js
@@ -6,7 +6,10 @@ if (!org.torbirdy) org.torbirdy = {};
 if(!org.torbirdy.emailwizard) org.torbirdy.emailwizard = new function() {
   var pub = {};
 
-  var disableWizard = !Preferences.get("extensions.torbirdy.emailwizard", false);
+  var disableAutoConfiguration = false;
+  if (Preferences.get("extensions.torbirdy.emailwizard", false)) {
+    disableAutoConfiguration = true;
+  }
 
   fixupTorbirdySettingsOnNewAccount = function(account) {
     var idkey = account.defaultIdentity.key;
@@ -37,7 +40,7 @@ if(!org.torbirdy.emailwizard) org.torbirdy.emailwizard = new function() {
   }
 
   pub.adjustAutoWizard = function() {
-    if (!disableWizard) {
+    if (!disableAutoConfiguration) {
       var realname = document.getElementById("realname").value;
       var email = document.getElementById("email").value;
       var password = document.getElementById("password").value;
@@ -134,7 +137,7 @@ if(!org.torbirdy.emailwizard) org.torbirdy.emailwizard = new function() {
   };
 
   pub.onLoad = function() {
-    if (disableWizard) {
+    if (disableAutoConfiguration) {
       document.getElementById("torbirdy-protocol-box").collapsed = true;
     }
     document.getElementById("provisioner_button").disabled = true;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/torbirdy.git



More information about the Pkg-privacy-commits mailing list