diff --git a/src/gui/src/initgui.js b/src/gui/src/initgui.js index 35cd5649..9abf30d2 100644 --- a/src/gui/src/initgui.js +++ b/src/gui/src/initgui.js @@ -155,8 +155,11 @@ 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); + window.initgui = async function(options){ let url = new URL(window.location); url = url.href;