Index: chrome/content/ui/firstRun.js |
=================================================================== |
--- a/chrome/content/ui/firstRun.js |
+++ b/chrome/content/ui/firstRun.js |
@@ -271,9 +271,9 @@ |
function updateToggleButton(feature, isEnabled) |
{ |
var button = E("toggle-" + feature); |
- if (isEnabled && button.classList.contains("off")) |
+ if (isEnabled) |
button.classList.remove("off"); |
- else if (!isEnabled && !button.classList.contains("off")) |
+ else |
button.classList.add("off"); |
} |