Fix minor goof, patch by John Morisson <jrgm@netscape.com>, r=me, a=ben

This commit is contained in:
disttsc%bart.nl 2006-09-14 05:55:36 +00:00
parent 3c54ed2384
commit 0bf7b8e936

View File

@ -77,7 +77,8 @@ function getContentAreaFrameCount()
// When a content area frame is focused, update the focused frame URL
function contentAreaFrameFocus()
{
if (isDocumentFrame(document.commandDispatcher.focusedWindow)) {
var focusedWindow = document.commandDispatcher.focusedWindow;
if (isDocumentFrame(focusedWindow)) {
gFocusedURL = focusedWindow.location.href;
var saveFrameItem = document.getElementById("savepage");
saveFrameItem.removeAttribute("hidden");