play chime only once

This commit is contained in:
4nshuman 2024-11-09 15:16:16 +05:30 committed by Eric Dubé
parent 1919cb3d99
commit edeb79d92c

View File

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