mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Pride thingy
This commit is contained in:
@@ -8,6 +8,9 @@ var Frontpage = {
|
||||
blob_list: [],
|
||||
|
||||
winter: (new Date()).getMonth() >= 10 ? true : false,
|
||||
pride: function() {
|
||||
return (new Date()).getMonth() == 5;
|
||||
},
|
||||
|
||||
times_rotated: 0,
|
||||
|
||||
@@ -540,6 +543,9 @@ var Frontpage = {
|
||||
if(!Helper.mobilecheck() && Frontpage.winter) {
|
||||
document.getElementsByClassName("mega")[0].insertAdjacentHTML("afterbegin", '<div id="snow"></div>');
|
||||
}
|
||||
if(Frontpage.pride()) {
|
||||
Helper.addClass("#fp-nav", "pride-background");
|
||||
}
|
||||
|
||||
if(Helper.mobilecheck()){
|
||||
//$('input#autocomplete-input').characterCounter();
|
||||
|
||||
Reference in New Issue
Block a user