From c8b03ca07ffc9a1122c2e618df9788fef4f2423a Mon Sep 17 00:00:00 2001 From: limepotato Date: Mon, 12 Aug 2024 01:17:24 -0600 Subject: [PATCH] style rules --- astro/public/scripts/sound.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/astro/public/scripts/sound.js b/astro/public/scripts/sound.js index 88a2c8d..ca8b749 100644 --- a/astro/public/scripts/sound.js +++ b/astro/public/scripts/sound.js @@ -1,11 +1,11 @@ // Sound effects function PlaySound(soundobj) { - var thissound = document.getElementById(soundobj); + const thissound = document.getElementById(soundobj); thissound.play(); } function StopSound(soundobj) { - var thissound = document.getElementById(soundobj); + const thissound = document.getElementById(soundobj); thissound.pause(); thissound.currentTime = 0; }