fds
This commit is contained in:
parent
f07bd552cc
commit
ece83f7a2b
1 changed files with 4 additions and 6 deletions
|
@ -12,10 +12,8 @@ if (uid)
|
||||||
else audio.pause()
|
else audio.pause()
|
||||||
}
|
}
|
||||||
|
|
||||||
window.addEventListener('load', (e) => {
|
|
||||||
audio.play();
|
audio.play();
|
||||||
document.getElementById('userpage').addEventListener('click', () => {
|
document.getElementById('userpage').addEventListener('click', () => {
|
||||||
if (audio.paused) audio.play();
|
if (audio.paused) audio.play();
|
||||||
}, {once : true});
|
}, {once : true});
|
||||||
});
|
|
||||||
}
|
}
|
Loading…
Add table
Add a link
Reference in a new issue