diff --git a/src/content.ts b/src/content.ts index 6027b5f0..19ea7e2e 100644 --- a/src/content.ts +++ b/src/content.ts @@ -1277,10 +1277,10 @@ function skipToTime({v, skipTime, skippingSegments, openNotice, forceAutoSkip, u const oldMetadata = navigator.mediaSession.metadata beep.play(); beep.addEventListener("ended", () => { - navigator.mediaSession.metadata = null + navigator.mediaSession.metadata = null; setTimeout(() => navigator.mediaSession.metadata = oldMetadata - ) + ); }) } @@ -2045,4 +2045,4 @@ function checkForPreloadedSegment() { } } } -} \ No newline at end of file +}