Correct month for xeno.js pride
This commit is contained in:
2
xeno.js
2
xeno.js
@@ -14,7 +14,7 @@ var xenoXmasImg = "siteimg/xeno/deioxpk-xmas1_smol.png"
|
|||||||
var num = Math.floor(Math.random() * (imageArray.length));
|
var num = Math.floor(Math.random() * (imageArray.length));
|
||||||
const month = new Date().getMonth();
|
const month = new Date().getMonth();
|
||||||
|
|
||||||
if (month == 2) { // June - LGBTQ+ Pride
|
if (month == 6) { // June - LGBTQ+ Pride
|
||||||
console.log("Month is June - LGBTQ+ Pride!");
|
console.log("Month is June - LGBTQ+ Pride!");
|
||||||
document.xeno.width = "550";
|
document.xeno.width = "550";
|
||||||
document.xeno.src = xenoPrideImg;
|
document.xeno.src = xenoPrideImg;
|
||||||
|
Reference in New Issue
Block a user