style rules
This commit is contained in:
parent
9571afeef4
commit
c8b03ca07f
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue