Skip to content

Commit 14996df

Browse files
committed
Happy Holidays!
1 parent 68b0ead commit 14996df

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

include/xmas.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ $(document).ready(function() {
66
var year = today.getFullYear();
77

88
if (month == 12 &&
9-
date in {'23':true, '24':true, '25':true, '26':true} ) {
9+
date in {'23': true, '24': true, '25': true, '26': true} ) {
1010
/* Happy Xmas :) */
11-
$("li#title").html("Happy Xmas");
11+
$("li#title").html("Happy Holidays");
1212
if (date == 24 || date == 25) {
1313
$().jSnow({
1414
vSize:'100',
@@ -18,13 +18,13 @@ $(document).ready(function() {
1818
}
1919

2020
if (month == 12 &&
21-
date in {'30':true, '31':true} ) {
21+
date in {'30': true, '31': true} ) {
2222
/* Bye :) */
2323
$("li#title").html("Bye " + year);
2424
}
2525

2626
if (month == 1 &&
27-
date in {'1':true, '2':true, '3':true} ) {
27+
date in {'1': true, '2': true, '3': true} ) {
2828
/* Hello :) */
2929
$("li#title").html("Hello " + year);
3030
}

0 commit comments

Comments
 (0)