disable adv image pref is imageblocking is enabled

This commit is contained in:
morse%netscape.com 2006-05-17 02:25:09 +00:00
Родитель 195941a0df
Коммит 71d4c4e2d7
1 изменённых файлов: 3 добавлений и 0 удалений

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

@ -286,6 +286,9 @@ nsPrefWindow.prototype =
element = window.frames[this.contentFrame].document.getElementById("cookieWindow");
titleWithImages = element.getAttribute("titleWithImages");
element.setAttribute("title",titleWithImages);
} else if (aPageTag.indexOf("pref-advanced") != -1) {
element = window.frames[this.contentFrame].document.getElementById("advancedAlwaysLoadImages");
element.setAttribute("style","display: none;" );
}
}
} catch(e) {