зеркало из https://github.com/mozilla/gecko-dev.git
Fix for bug 29807; JS error from hidden window on Mac. r=ben
This commit is contained in:
Родитель
16e912ab31
Коммит
6609958d0b
|
@ -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);
|
||||
|
|
Загрузка…
Ссылка в новой задаче