Bug 1269485 - Improve New Private Browsing start-page background styles r=Gijs

MozReview-Commit-ID: 6gju3cfipJ3
This commit is contained in:
Ricky Chien
2016-05-04 17:05:50 +08:00
parent 13eaa79ef4
commit dbb51e123b
4 changed files with 16 additions and 21 deletions

View File

@@ -44,8 +44,8 @@ function setFavIcon(url) {
document.addEventListener("DOMContentLoaded", function () {
if (!PrivateBrowsingUtils.isContentWindowPrivate(window)) {
document.body.classList.remove("private");
document.body.classList.add("normal");
document.documentElement.classList.remove("private");
document.documentElement.classList.add("normal");
document.title = stringBundle.GetStringFromName("title.normal");
document.getElementById("favicon")
.setAttribute("href", FAVICON_QUESTION);