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

[or-cvs] [torbutton/master 15/15] clean up else{}



Author: Jacob Appelbaum <jacob@xxxxxxxxxxxxx>
Date: Sat, 24 Jul 2010 02:31:21 +0200
Subject: clean up else{}
Commit: 9de7007d197e57c80868714e1c8e958ae95c4b4b

---
 src/chrome/content/preferences.js |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/src/chrome/content/preferences.js b/src/chrome/content/preferences.js
index 0db56bd..7babafe 100644
--- a/src/chrome/content/preferences.js
+++ b/src/chrome/content/preferences.js
@@ -433,9 +433,7 @@ function torbutton_prefs_save(doc) {
         if (ret != 4) {
             var warning = strings.GetStringFromName("torbutton.popup.test.failure");
             window.alert(warning);
-        }
-
-        else {
+        } else {
             o_torprefs.setBoolPref('tor_enabled', true);
             // In theory this is where we unlock some things that are now "safe"
             // Unleash Flash on Tor users
-- 
1.7.1