Bug 626997 - Correctly initialize the resizer for newly created browsers. r=dao

This commit is contained in:
Neil Deakin 2011-02-01 11:14:56 +01:00
Родитель ca3deff208
Коммит 35d26f6fc6
1 изменённых файлов: 2 добавлений и 1 удалений

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

@ -1250,7 +1250,8 @@
b.setAttribute("contextmenu", this.getAttribute("contentcontextmenu"));
b.setAttribute("tooltip", this.getAttribute("contenttooltip"));
if (window.gShowPageResizers && document.getElementById("addon-bar").collapsed) {
if (window.gShowPageResizers && document.getElementById("addon-bar").collapsed &&
window.windowState == window.STATE_NORMAL) {
b.setAttribute("showresizer", "true");
}