mirror of
https://github.com/imputnet/cobalt.git
synced 2025-07-21 20:58:28 +00:00
awesomeTheme: make it awesome only on awesome day
This commit is contained in:
parent
855f3e969f
commit
c8822a5d5a
@ -4,7 +4,7 @@ function changeIcon(button, src) {
|
||||
|
||||
// load an Awesome theme on an Awesome day
|
||||
let date = new Date();
|
||||
if (date.getMonth() === 2 && date.getDate() === 31) {
|
||||
if (date.getMonth() === 3 && date.getDate() === 1) {
|
||||
let head = document.head;
|
||||
|
||||
head.appendChild(document.createElement('link')).rel = 'stylesheet';
|
||||
|
Loading…
Reference in New Issue
Block a user