This commit is contained in:
Aevann1 2022-01-18 15:41:05 +02:00
parent f07bd552cc
commit ece83f7a2b

View file

@ -12,10 +12,8 @@ if (uid)
else audio.pause()
}
window.addEventListener('load', (e) => {
audio.play();
document.getElementById('userpage').addEventListener('click', () => {
if (audio.paused) audio.play();
}, {once : true});
});
}