bug 473424: speed up resize code r=gavin

This commit is contained in:
Taras Glek 2009-01-13 13:44:11 -08:00
Родитель 86d710707a
Коммит 7bc2dcd49f
1 изменённых файлов: 6 добавлений и 4 удалений

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

@ -237,11 +237,13 @@ var BrowserUI = {
var toolbarH = document.getElementById("toolbar-main").boxObject.height;
var popup = document.getElementById("popup_autocomplete");
popup.height = window.innerHeight - toolbarH;
popup.width = window.innerWidth;
var windowW = window.innerWidth;
var windowH = window.innerHeight
popup.height = windowH - toolbarH;
popup.width = windowW
document.getElementById("notifications").width = window.innerWidth;
document.getElementById("browser-controls").height = window.innerHeight - toolbarH;
document.getElementById("notifications").width = windowW;
document.getElementById("browser-controls").height = windowH - toolbarH;
// XXX need to handle make some of these work again
/*