summaryrefslogtreecommitdiff
path: root/app/index.php
diff options
context:
space:
mode:
authorRaindropsSys <raindrops@equestria.dev>2023-12-17 12:20:50 +0100
committerRaindropsSys <raindrops@equestria.dev>2023-12-17 12:20:50 +0100
commit48ca78479fbf9ade930ec8e4e14540385d93a5aa (patch)
tree84d59b6fa1fa5ac0a4848d05f610fece2b9ae9fe /app/index.php
parentcf20c457e3bcf5b241430ada16b15de0ec883b8b (diff)
downloadmist-48ca78479fbf9ade930ec8e4e14540385d93a5aa.tar.gz
mist-48ca78479fbf9ade930ec8e4e14540385d93a5aa.tar.bz2
mist-48ca78479fbf9ade930ec8e4e14540385d93a5aa.zip
Updated 8 files and added 3 files (automated)
Diffstat (limited to 'app/index.php')
-rw-r--r--app/index.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/app/index.php b/app/index.php
index 3f0a8f5..082e705 100644
--- a/app/index.php
+++ b/app/index.php
@@ -210,6 +210,7 @@ require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/session.php"; global $_PROFI
if (name === "search") name = "home";
if (name === "stella") name = "settings";
if (name === "video") name = "settings";
+ if (name === "ending") name = "settings";
Array.from(document.getElementById("navigation").contentDocument.getElementsByClassName("navigation-item")).map(i => i.classList.remove("active"));
document.getElementById("navigation").contentDocument.getElementById(name).classList.add("active");
} catch (e) {
@@ -1190,6 +1191,10 @@ require_once $_SERVER['DOCUMENT_ROOT'] . "/includes/session.php"; global $_PROFI
document.getElementById("modal").contentWindow._modal.show();
}
+ function eolModal() {
+ openModal("Mist is going away", "eol.php", true);
+ }
+
if (!localStorage.getItem("rich-presence")) {
localStorage.setItem("rich-presence", "true");
}