mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-13 18:27:35 +00:00
disable adv image pref is imageblocking is enabled
This commit is contained in:
parent
f84630d2ac
commit
5815f79f52
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user