Small change

This commit is contained in:
Vanilagy
2025-06-09 22:39:16 +02:00
parent fa3f4b0052
commit 6baff67696
+2 -2
View File
@@ -511,10 +511,10 @@ fullscreenButton.addEventListener('click', () => {
} }
}); });
playerContainer.addEventListener('pointerdown', () => { playerContainer.addEventListener('click', () => {
togglePlay(); togglePlay();
}); });
controlsElement.addEventListener('pointerdown', (event) => { controlsElement.addEventListener('click', (event) => {
// Make sure this does NOT toggle play // Make sure this does NOT toggle play
event.stopPropagation(); event.stopPropagation();
}); });