From 123aa72edd61f5b238653fe60d4337873c285113 Mon Sep 17 00:00:00 2001 From: "gavin%gavinsharp.com" Date: Sat, 17 Jun 2006 21:42:12 +0000 Subject: [PATCH] Bug 338360: Only call prepareForStartup from one place, r=mano --- browser/base/content/browser.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/browser/base/content/browser.js b/browser/base/content/browser.js index a7790a5e9df..cf9e294a01c 100644 --- a/browser/base/content/browser.js +++ b/browser/base/content/browser.js @@ -750,8 +750,7 @@ function BrowserStartup() gIsLoadingBlank = uriToLoad == "about:blank"; - if (!gIsLoadingBlank) - prepareForStartup(); + prepareForStartup(); #ifdef ENABLE_PAGE_CYCLER appCore.startPageCycler(); @@ -954,9 +953,6 @@ function delayedStartup() gURLBar.setAttribute("enablehistory", "false"); } - if (gIsLoadingBlank) - prepareForStartup(); - if (gURLBar) gURLBar.addEventListener("dragdrop", URLBarOnDrop, true);