From 2e6e3586799a3d74b9e18c5289f2daec9f7729be Mon Sep 17 00:00:00 2001 From: "ben%bengoodger.com" Date: Mon, 23 Feb 2004 09:47:36 +0000 Subject: [PATCH] test some code on imola to see if this code is executing all the time --- browser/base/content/browser.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/browser/base/content/browser.js b/browser/base/content/browser.js index 0154fbf9401..03104081eb7 100644 --- a/browser/base/content/browser.js +++ b/browser/base/content/browser.js @@ -305,11 +305,13 @@ function Startup() if (!document.documentElement.hasAttribute("width")) { var defaultWidth = 994, defaultHeight; if (screen.availHeight <= 600) { + dump("*** screen res < 600px high\n"); document.documentElement.setAttribute("sizemode", "maximized"); defaultWidth = 610; defaultHeight = 450; } else { + dump("*** screen res > 600px high\n"); // Create a narrower window for large or wide-aspect displays, to suggest // side-by-side page view. if ((screen.availWidth / 2) >= 800)