Bug 711157 - Followup for about:home Visual Refresh & Launcher. r=mak

This commit is contained in:
Frank Yan 2012-03-07 02:36:05 -08:00
parent bef5ec339f
commit 6bbad53cec
2 changed files with 3 additions and 3 deletions

View File

@ -48,7 +48,7 @@ html {
background-image: url(chrome://browser/content/abouthome/noise.png),
-moz-linear-gradient(hsla(0,0%,100%,.7), hsla(0,0%,100%,.4));
background-attachment: fixed;
color: -moz-FieldText;
color: #000;
height: 100%;
}
@ -95,7 +95,6 @@ a {
#searchForm {
display: -moz-box;
margin: 0 auto;
}
#searchLogoContainer {

View File

@ -159,7 +159,8 @@ function onLoad(event)
fitToWidth();
window.addEventListener("resize", fitToWidth);
window.addEventListener("unload", function() {
window.addEventListener("unload", function cleanup() {
window.removeEventListener("unload", cleanup);
window.removeEventListener("resize", fitToWidth);
});
}