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

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



commit 63aba79747531845fd44fd96879c669b2921fab3
Author: anonym <anonym@xxxxxxxxxx>
Date:   Wed Mar 9 14:00:41 2016 +0100

    Simplify.
    
    The removed logic is already present in pub.adjustAutoWizard().
---
 chrome/content/emailwizard.js | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/chrome/content/emailwizard.js b/chrome/content/emailwizard.js
index e17bbd1..a82a188 100644
--- a/chrome/content/emailwizard.js
+++ b/chrome/content/emailwizard.js
@@ -116,12 +116,7 @@ if(!org.torbirdy.emailwizard) org.torbirdy.emailwizard = new function() {
     var keycode = event.keyCode;
     if (keycode == 13) {
       if (document.getElementById("next_button").disabled === false) {
-        if (!disableWizard) {
-          pub.adjustAutoWizard();
-        }
-        else {
-          gEmailConfigWizard.onNext();
-        }
+        pub.adjustAutoWizard();
       }
     }
   };



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