Bug 981267 - Fix bad indentation in about:networking. r=valentin, r=sworkman
authorAlexandru Niculae <alex2august@gmail.com>
Thu, 13 Mar 2014 09:47:12 -0400
changeset 190605 32a5ae80bfc87476f88cade18622a029a31f5ee0
parent 190604 5b84220fd9623c9df309006fe638f3c76eeb6b1c
child 190606 a3b20eb15f82c4a9425fb41c79e68e1b9c340cea
push id3503
push userraliiev@mozilla.com
push dateMon, 28 Apr 2014 18:51:11 +0000
treeherdermozilla-beta@c95ac01e332e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersvalentin, sworkman
bugs981267
milestone30.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 981267 - Fix bad indentation in about:networking. r=valentin, r=sworkman
toolkit/content/aboutNetworking.js
--- a/toolkit/content/aboutNetworking.js
+++ b/toolkit/content/aboutNetworking.js
@@ -133,21 +133,21 @@ function init() {
   if (gPrefs.getBoolPref("warnOnAboutNetworking")) {
     let div = document.getElementById("warning_message");
     div.classList.add("active");
     document.getElementById("confpref").addEventListener("click", confirm);
   }
 
   requestAllNetworkingData();
 
-   let autoRefresh = document.getElementById("autorefcheck");
-   if (autoRefresh.checked)
-     setAutoRefreshInterval(autoRefresh);
+  let autoRefresh = document.getElementById("autorefcheck");
+  if (autoRefresh.checked)
+    setAutoRefreshInterval(autoRefresh);
 
-   autoRefresh.addEventListener("click", function() {
+  autoRefresh.addEventListener("click", function() {
     let refrButton = document.getElementById("refreshButton");
     if (this.checked) {
       setAutoRefreshInterval(this);
       refrButton.disabled = "disabled";
     } else {
       clearInterval(this.interval);
       refrButton.disabled = null;
     }