From e6f38505bb160afd9216904e2b5c5a07457e854d Mon Sep 17 00:00:00 2001 From: nelle Date: Mon, 30 Dec 2024 11:26:36 -0700 Subject: [PATCH] ? --- frontend/public/scripts/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/public/scripts/main.js b/frontend/public/scripts/main.js index 8d6ecb5..2f75a63 100644 --- a/frontend/public/scripts/main.js +++ b/frontend/public/scripts/main.js @@ -2,7 +2,7 @@ const meowEndpoint = "https://nelle.observer/api/meow"; const beepEndpoint = "https://nelle.observer/api/beep"; const kaomojiEndpoint = "https://nelle.observer/api/kaomoji"; var colorBool = Math.random() < 0.5; -var is_root = location.pathname == "/"; +var is_root = location.pathname === "/"; // loads all the functions to be loaded on load, pretty simple, it loads shit on load. function onLoad() {