From 1fb3876cd4944891c7cc6067cc1d9d692d50bdbb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=F0=93=8D=BC?= <143974574+xojw@users.noreply.github.com> Date: Sun, 25 May 2025 14:24:32 -0500 Subject: [PATCH] Fixes --- public/assets/css/toast.css | 4 +++ public/assets/js/greetings.js | 1 - public/assets/js/settings.js | 47 ++++++++++++++++++++++++++++++++++- 3 files changed, 50 insertions(+), 2 deletions(-) diff --git a/public/assets/css/toast.css b/public/assets/css/toast.css index 7a3164fc..ad3b8f25 100644 --- a/public/assets/css/toast.css +++ b/public/assets/css/toast.css @@ -32,6 +32,10 @@ display: inline-block; } +.toast i { + margin-right: 8px; +} + .toast.show { animation: slideIn 0.3s forwards; } diff --git a/public/assets/js/greetings.js b/public/assets/js/greetings.js index 1392889d..38687fa3 100644 --- a/public/assets/js/greetings.js +++ b/public/assets/js/greetings.js @@ -28,7 +28,6 @@ function submitName() { updateGreeting(name); document.getElementById('namePrompt').classList.add('fade-out'); showToast(`Hey, ${name}! Welcome to Waves!`, 'success', 'wave'); - const path = window.location.pathname; setTimeout(() => { document.getElementById('namePrompt').style.display = 'none'; diff --git a/public/assets/js/settings.js b/public/assets/js/settings.js index 0cdac304..7d0154b3 100644 --- a/public/assets/js/settings.js +++ b/public/assets/js/settings.js @@ -35,7 +35,7 @@ document.addEventListener('DOMContentLoaded', function () {
Turn this on to go into about:blank every time the page loads (Recommended).