mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-14 22:05:44 +00:00
Fix for bug 29807; JS error from hidden window on Mac. r=ben
This commit is contained in:
parent
16e912ab31
commit
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);
|
||||
|
Loading…
Reference in New Issue
Block a user