mirror of
https://github.com/arcodange-org/mediabunny.git
synced 2026-09-27 19:03:46 +02:00
Just one more fix bro
This commit is contained in:
@@ -642,6 +642,13 @@ const formatSeconds = (seconds: number) => {
|
|||||||
return result;
|
return result;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
window.addEventListener('resize', () => {
|
||||||
|
if (totalDuration) {
|
||||||
|
updateProgressBarTime(getPlaybackTime());
|
||||||
|
durationElement.textContent = formatSeconds(totalDuration);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
/** === FILE SELECTION LOGIC === */
|
/** === FILE SELECTION LOGIC === */
|
||||||
|
|
||||||
selectMediaButton.addEventListener('click', () => {
|
selectMediaButton.addEventListener('click', () => {
|
||||||
|
|||||||
Reference in New Issue
Block a user