style rules

This commit is contained in:
nelle 2024-08-12 01:17:24 -06:00
parent 9571afeef4
commit c8b03ca07f

View file

@ -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;
}