summaryrefslogtreecommitdiff
path: root/src/js/chrisApp.js
diff options
context:
space:
mode:
authorseth <[email protected]>2023-03-17 09:34:30 -0400
committerseth <[email protected]>2023-03-17 09:34:30 -0400
commite73226622083deb3ec5289ea517b9963e1998b77 (patch)
tree7de4b8754181a56ca97c23b54facaa8baf21b643 /src/js/chrisApp.js
parentb33c5d086dddf4462121ac7cfc60e2ac4e0093e2 (diff)
feat(actions): add prettier format action
Diffstat (limited to 'src/js/chrisApp.js')
-rw-r--r--src/js/chrisApp.js28
1 files changed, 14 insertions, 14 deletions
diff --git a/src/js/chrisApp.js b/src/js/chrisApp.js
index 4881b7a..133b16d 100644
--- a/src/js/chrisApp.js
+++ b/src/js/chrisApp.js
@@ -1,22 +1,22 @@
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",
- ];
+ 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)];
+ // this chooses a random file from the array
+ const url = chrisURL + files[Math.floor(Math.random() * files.length)];
- window.location.href = url;
+ window.location.href = url;
}
const chris = document.getElementById("chris_gif");