Followup to fix bustage from revision 5e0434efb89e for bug 460330, r=stuart

This commit is contained in:
Gavin Sharp 2008-12-04 14:16:52 -05:00
parent 1dc69083e3
commit c1ea0b563d

View File

@ -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");