Bug 802394 - document.body is null when New Window is created. r=dao

This commit is contained in:
Jared Wein 2012-10-18 12:45:06 -07:00
Родитель 012c73a24e
Коммит 20f23a0959
1 изменённых файлов: 1 добавлений и 2 удалений

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

@ -100,9 +100,8 @@ window.addEventListener("load", function () {
// later and may use asynchronous getters.
window.gObserver.observe(document.documentElement, { attributes: true });
fitToWidth();
window.addEventListener("resize", fitToWidth);
});
window.addEventListener("resize", fitToWidth);
function onSearchSubmit(aEvent)
{