mirror of
https://github.com/HeyPuter/puter
synced 2024-11-14 14:03:42 +00:00
play chime only once
This commit is contained in:
parent
bcb72c39af
commit
99b17313d7
@ -153,6 +153,7 @@ if(jQuery){
|
||||
window.playStartUpChime = ()=>{
|
||||
let audio = new Audio('/src/audio/puter_chime.mp3');
|
||||
audio.play();
|
||||
document.removeEventListener("click", window.playStartUpChime);
|
||||
}
|
||||
|
||||
document.addEventListener("click", window.playStartUpChime);
|
||||
|
Loading…
Reference in New Issue
Block a user