diff --git a/mobile/chrome/content/browser.js b/mobile/chrome/content/browser.js index 46b017a46995..4de399a9f560 100644 --- a/mobile/chrome/content/browser.js +++ b/mobile/chrome/content/browser.js @@ -123,6 +123,8 @@ var Browser = { // initialize input handling ih = new InputHandler(); + BrowserUI.init(); + // Create the first tab this.newTab(true); @@ -152,8 +154,6 @@ var Browser = { // XXX hook up memory-pressure notification to clear out tab browsers //os.addObserver(function(subject, topic, data) self.destroyEarliestBrowser(), "memory-pressure", false); - BrowserUI.init(); - window.QueryInterface(Ci.nsIDOMChromeWindow).browserDOMWindow = new nsBrowserAccess(); let browsers = document.getElementById("browsers");