mirror of
https://github.com/arcodange-org/mediabunny.git
synced 2026-10-02 21:33:52 +02:00
Small change
This commit is contained in:
@@ -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();
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user