summaryrefslogtreecommitdiff
path: root/src/scripts/chrisApp.ts
diff options
context:
space:
mode:
authorseth <[email protected]>2023-12-20 20:27:18 -0500
committerseth <[email protected]>2023-12-21 02:34:37 +0000
commit5aa2e6c0c6e4c73d93307e9f70803237006afb28 (patch)
treef26a67452e2d4a4ed30506e533ac17cc95184fac /src/scripts/chrisApp.ts
parent2a6f22fc1f1939b102fb8925bf04914a4b553e17 (diff)
go back to lume
Diffstat (limited to 'src/scripts/chrisApp.ts')
-rw-r--r--src/scripts/chrisApp.ts24
1 files changed, 0 insertions, 24 deletions
diff --git a/src/scripts/chrisApp.ts b/src/scripts/chrisApp.ts
deleted file mode 100644
index 9a9dc0c..0000000
--- a/src/scripts/chrisApp.ts
+++ /dev/null
@@ -1,24 +0,0 @@
-/* eslint no-undef: "off" */
-const chrisURL = "/imgs/chris/";
-
-function randomChris() {
- const files = [
- "chis_very_fried.jpg",
- "chris_medium_fried.jpg",
- "chris_moshed.jpg",
- "fried_publisher.jpg",
- "help_me.png",
- "nice_chris.png",
- "nice_publisher.png",
- "bkender_bauob.jpg",
- "blurry_chris.jpg",
- ];
-
- // this chooses a random file from the array
- const url = chrisURL + files[Math.floor(Math.random() * files.length)];
-
- window.location.href = url;
-}
-
-const chris = document.getElementById("chris_gif");
-chris ? chris.addEventListener("click", randomChris) : {};