mirror of
https://github.com/Myxelium/RandomMemerBot.git
synced 2026-04-09 08:59:39 +00:00
Make months more clear
This commit is contained in:
@@ -2,9 +2,9 @@ var logo = document.getElementById('logotype');
|
||||
var body = document.getElementsByTagName('body')[0];
|
||||
|
||||
var today = new Date();
|
||||
var month = today.getMonth();
|
||||
var month = today.getMonth() + 1;
|
||||
|
||||
if (month == 9) {
|
||||
if (month == 10) { // Halloween
|
||||
logo.src = 'assets/seasonal/logo-autumn.svg';
|
||||
body.className += ' autumn';
|
||||
document.head.innerHTML += '<link rel="stylesheet" href="assets/seasonal/autumn.css" type="text/css"/>';
|
||||
|
||||
Reference in New Issue
Block a user