fds
This commit is contained in:
parent
5afa772579
commit
072fe7aad5
4 changed files with 13 additions and 15 deletions
|
@ -22,4 +22,11 @@ if (uid)
|
|||
document.getElementById("pause2").classList.toggle("d-none");
|
||||
document.getElementById("play2").classList.toggle("d-none");
|
||||
}
|
||||
|
||||
window.addEventListener('load', (e) => {
|
||||
audio.play();
|
||||
document.getElementById('userpage').addEventListener('click', () => {
|
||||
if (audio.paused) audio.play();
|
||||
}, {once : true});
|
||||
});
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue