From 99570d26937539fd4a1485f4e3e96c71be65de05 Mon Sep 17 00:00:00 2001 From: "peterv%netscape.com" Date: Mon, 16 Apr 2001 21:15:51 +0000 Subject: [PATCH] Fix View->Use Stylesheet. r=jag, sr=alecf. --- xpfe/browser/resources/content/navigator.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xpfe/browser/resources/content/navigator.js b/xpfe/browser/resources/content/navigator.js index b2f2acaf571c..1b633db0b80a 100644 --- a/xpfe/browser/resources/content/navigator.js +++ b/xpfe/browser/resources/content/navigator.js @@ -1097,7 +1097,7 @@ function stylesheetFillPopup(forDocument, menuPopup, itemNoOptStyles) if (!currentStyleSheet.disabled) noOptionalStyles = false; - var lastWithSameTitle; + var lastWithSameTitle = null; if (currentStyleSheet.title in currentStyleSheets) lastWithSameTitle = currentStyleSheets[currentStyleSheet.title];