Fix for bug 29807; JS error from hidden window on Mac. r=ben

This commit is contained in:
sfraser%netscape.com 2000-04-05 02:33:03 +00:00
Родитель 16e912ab31
Коммит 6609958d0b
1 изменённых файлов: 3 добавлений и 2 удалений

Просмотреть файл

@ -102,5 +102,6 @@ function charsetLoadListener (event)
// weird assertion!
}
contentArea = window.document.getElementById("appcontent")
contentArea.addEventListener("load", charsetLoadListener, true);
contentArea = window.document.getElementById("appcontent");
if (contentArea)
contentArea.addEventListener("load", charsetLoadListener, true);