Skip to content

Commit 545e9c7

Browse files
authored
Update index.html
1 parent e5b671c commit 545e9c7

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

jumpstart/templates/index.html

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -79,19 +79,21 @@
7979
function longUpdate(){
8080
var date = new Date();
8181

82-
if (date.getMonth()+1 == 2 && (date.getDate() == 12 || date.getDate() == 13 || date.getDate() == 14) ){
82+
if (date.getMonth()+1 == 2 && (date.getDate() == 12 || date.getDate() == 13 || date.getDate() == 14) ) {
8383
$("body").css("background-image", "url(../static/css/valentinemode.png)");
84-
}else if (date.getMonth()+1 == 3 && (date.getDate() == 13) ){
84+
} else if (date.getMonth()+1 == 3 && (date.getDate() == 13) ) {
8585
$("body").css("background-image", "url(../static/css/jumpstartbang.png)");
86-
}else if (date.getMonth()+1 == 10 && (date.getDate() == 29 || date.getDate() == 30 || date.getDate() == 31) ){
86+
} else if (date.getMonth()+1 == 10 && (date.getDate() == 29 || date.getDate() == 30 || date.getDate() == 31) ) {
8787
$("body").css("background-image", "url(../static/css/spookymode.png)");
88-
}else if(date.getMonth()+1 == 11 && date.getDate() == 2){
88+
} else if(date.getMonth()+1 == 10 || date.getMonth()+1 == 15) {
89+
$("body").css("background-image", "url(../static/css/wintermode.png)"); // Freshman prank
90+
} else if(date.getMonth()+1 == 11 && date.getDate() == 2) {
8991
$("body").css("background-image", "url(../static/css/duckymode2.png)");
90-
}else if(date.getMonth()+1 == 11 || date.getMonth()+1 == 12){
92+
} else if(date.getMonth()+1 == 11 || date.getMonth()+1 == 12) {
9193
$("body").css("background-image", "url(../static/css/wintermode.png)");
92-
}else if(9 < date.getHours() && date.getHours() < 18){
94+
} else if(9 < date.getHours() && date.getHours() < 18) {
9395
$("body").css("background-image", "url(../static/css/lightmodeF.png)");
94-
}else{
96+
} else {
9597
$("body").css("background-image", "url(../static/css/darkmodeF.png)");
9698
}
9799

0 commit comments

Comments
 (0)