[tor-commits] [torbirdy/develop] Simplify.
sukhbir at torproject.org
sukhbir at torproject.org
Fri Nov 25 05:54:48 UTC 2016
commit 63aba79747531845fd44fd96879c669b2921fab3
Author: anonym <anonym at riseup.net>
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();
}
}
};
More information about the tor-commits
mailing list