diff --git a/src/components/LiveNewsPanel.ts b/src/components/LiveNewsPanel.ts index f17e87f62..bad79778a 100644 --- a/src/components/LiveNewsPanel.ts +++ b/src/components/LiveNewsPanel.ts @@ -733,6 +733,7 @@ export class LiveNewsPanel extends Panel { } private showOfflineMessage(channel: LiveChannel): void { + this.destroyPlayer(); this.content.innerHTML = `
📺
@@ -743,6 +744,7 @@ export class LiveNewsPanel extends Panel { } private showEmbedError(channel: LiveChannel, errorCode: number): void { + this.destroyPlayer(); const watchUrl = channel.videoId ? `https://www.youtube.com/watch?v=${encodeURIComponent(channel.videoId)}` : `https://www.youtube.com/${channel.handle}`; diff --git a/src/services/celebration.ts b/src/services/celebration.ts index f72fd390f..f082fbe12 100644 --- a/src/services/celebration.ts +++ b/src/services/celebration.ts @@ -54,7 +54,6 @@ export function celebrate(type: 'milestone' | 'record' = 'milestone'): void { disableForReducedMotion: true, }); } else { - // 'record' -- double burst for extra emphasis void confetti({ particleCount: 80, spread: 90,