mirror of
https://github.com/HeyPuter/puter.git
synced 2025-01-24 15:20:21 +08:00
Revert "added event listener to play chime on the first click"
This reverts commit 4885a76a75
.
This commit is contained in:
parent
fa5d731641
commit
5fd11cc607
@ -155,11 +155,8 @@ if(jQuery){
|
|||||||
window.playStartUpChime = ()=>{
|
window.playStartUpChime = ()=>{
|
||||||
let audio = new Audio('/src/audio/puter_chime.mp3');
|
let audio = new Audio('/src/audio/puter_chime.mp3');
|
||||||
audio.play();
|
audio.play();
|
||||||
document.removeEventListener("click", window.playStartUpChime);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
document.addEventListener("click", window.playStartUpChime);
|
|
||||||
|
|
||||||
window.initgui = async function(options){
|
window.initgui = async function(options){
|
||||||
let url = new URL(window.location);
|
let url = new URL(window.location);
|
||||||
url = url.href;
|
url = url.href;
|
||||||
|
Loading…
Reference in New Issue
Block a user