forked from MarseyWorld/MarseyWorld
remove forgotten console.log(e)
parent
69648de587
commit
887bb64483
|
@ -374,7 +374,6 @@ function areyousure(t) {
|
||||||
function prepare_to_pause(audio) {
|
function prepare_to_pause(audio) {
|
||||||
for (const e of document.querySelectorAll('video,audio'))
|
for (const e of document.querySelectorAll('video,audio'))
|
||||||
{
|
{
|
||||||
console.log(e)
|
|
||||||
e.addEventListener('play', () => {
|
e.addEventListener('play', () => {
|
||||||
if (!audio.paused) audio.pause();
|
if (!audio.paused) audio.pause();
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue