Bustage fix
authorMark Finkle <mfinkle@mozilla.com>
Tue, 24 Nov 2009 14:27:42 -0500
changeset 65845 89f816c9419d1870fdb511c60959e82767b92332
parent 65844 adead81f1312eacc0441e7467f15cfd0d56b3b00
child 65846 a0ebf36db9766babc8d44b6297c10438c360aedb
push id1
push userroot
push dateTue, 26 Apr 2011 22:38:44 +0000
treeherdermozilla-beta@bfdb6e623a36 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
Bustage fix
mobile/chrome/content/browser.js
--- a/mobile/chrome/content/browser.js
+++ b/mobile/chrome/content/browser.js
@@ -894,17 +894,17 @@ var Browser = {
           if (url.indexOf("|") != -1)
             url = url.split("|")[0];
         } catch (e) { /* Fall back on about blank */ }
 
         Browser.selectedBrowser.loadURI(url, null, null, false);
       }
     } 
     else if (/^about:neterror\?e=netOffline/.test(errorDoc.documentURI)) {
-      if (ot == errorDoc.getElementById("errorTryAgain") {
+      if (ot == errorDoc.getElementById("errorTryAgain")) {
         // Make sure we're online before attempting to load
         Util.forceOnline();
       }
     }
   },
 
   /**
    * Compute the sidebar percentage visibility.