mirror of
https://github.com/HeyPuter/puter.git
synced 2026-05-05 17:10:45 +00:00
play chime only once
This commit is contained in:
@@ -155,6 +155,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);
|
||||
|
||||
Reference in New Issue
Block a user