зеркало из https://github.com/mozilla/gecko-dev.git
Bug 802394 - document.body is null when New Window is created. r=dao
This commit is contained in:
Родитель
012c73a24e
Коммит
20f23a0959
|
@ -100,9 +100,8 @@ window.addEventListener("load", function () {
|
||||||
// later and may use asynchronous getters.
|
// later and may use asynchronous getters.
|
||||||
window.gObserver.observe(document.documentElement, { attributes: true });
|
window.gObserver.observe(document.documentElement, { attributes: true });
|
||||||
fitToWidth();
|
fitToWidth();
|
||||||
|
window.addEventListener("resize", fitToWidth);
|
||||||
});
|
});
|
||||||
window.addEventListener("resize", fitToWidth);
|
|
||||||
|
|
||||||
|
|
||||||
function onSearchSubmit(aEvent)
|
function onSearchSubmit(aEvent)
|
||||||
{
|
{
|
||||||
|
|
Загрузка…
Ссылка в новой задаче