Fixed previous commit

This commit is contained in:
lkarch 2025-07-16 15:08:36 -04:00
parent 83c0a36849
commit 8a9ad51843
2 changed files with 3 additions and 3 deletions

View File

@ -4,7 +4,7 @@ const pageList = document.getElementsByClassName("page");
const loaded = [];
var currentPage;
let splashes = ["Totally not rigged!!!", "New Lameful", "What's Uptown?", */"♫I've been workin' on the railroad♫", "Also visit CalvinTown", "Also visit IkeaLand", "Also visit Matsunoki", "Also visit MillField", "Also visit Jurcgrad", "Also visit Spawn 2025", "Brought to you by the NNNNNNNNNN", "<b><i>Dig the Cube</i></b>", "Urban Sprawl!", "Invest in WormzyCoin!", "New and Improved!", "Omtegu!", "do /pay new_nameful 20 for good luck", "my asshole hurts", "The most extravagant group project", "That damn cube", "what the nameful", "Vote Karma!", "Cobble ceiling has been removed.", "railroad fetish", "ColoradoCrusade!", "MississipiMuslim!!", "PennsylvaniaPacifist!", "Haiiiii Lkarchhhh :3", "23% approved!", "67% approved!", "71% approved!", "Now updated to 1.21.5", "hardly know her", "Praise be thine", "Beware the NBP", "/lmk NewNameful", "Coded by Lkarch", "Just one more rail line", "I think I get why they call it Minecraft", "Why isn't there a New Nameful 2?", "The townsfolk get a little quirky at night.", "/pay keyboardan 100", "Cube 3 coming soon!", "\"Mildly funny splash text here\"", "Also try Old Nameful"];
let splashes = ["Totally not rigged!!!", "New Lameful", "What's Uptown?", "♫I've been workin' on the railroad♫", "Also visit CalvinTown", "Also visit IkeaLand", "Also visit Matsunoki", "Also visit MillField", "Also visit Jurcgrad", "Also visit Spawn 2025", "Brought to you by the NNNNNNNNNN", "<b><i>Dig the Cube</i></b>", "Urban Sprawl!", "Invest in WormzyCoin!", "New and Improved!", "Omtegu!", "do /pay new_nameful 20 for good luck", "my asshole hurts", "The most extravagant group project", "That damn cube…", "what the nameful", "Vote Karma!", "Cobble ceiling has been removed.", "railroad fetish", "ColoradoCrusade!", "MississipiMuslim!!", "PennsylvaniaPacifist!", "Haiiiii Lkarchhhh :3", "23% approved!", "67% approved!", "71% approved!", "Now updated to 1.21.5", "hardly know her", "Praise be thine", "Beware the NBP", "/lmk NewNameful", "Coded by Lkarch", "Just one more rail line…", "I think I get why they call it Minecraft", "Why isn't there a New Nameful 2?", "The townsfolk get a little quirky at night.", "/pay keyboardan 100", "Cube 3 coming soon!", "\"Mildly funny splash text here\"", "Also try Old Nameful"];
function getCookie(cookieName) {
let name = cookieName + "=";

View File

@ -37,13 +37,13 @@ async function electionLoad() {
let countdown = document.createElement("p")
if (Math.ceil(calculateCountdown(electionDate)) <= 0) {
if (Math.ceil(calculateCountdown(election.electionDate)) <= 0) {
countdown.innerText = "The next election is RIGHT NOW!!!";
} else {
countdown.innerText = "The next election is in " + Math.ceil(calculateCountdown(election.electionDate)) + " days!";
}
console.log("Next election occurs in " + calculateCountdown(electionDate) + " days");
console.log("Next election occurs in " + calculateCountdown(election.electionDate) + " days");
document.getElementById("election").append(countdown);
}