Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/components/LiveNewsPanel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -733,6 +733,7 @@ export class LiveNewsPanel extends Panel {
}

private showOfflineMessage(channel: LiveChannel): void {
this.destroyPlayer();
this.content.innerHTML = `
<div class="live-offline">
<div class="offline-icon">📺</div>
Expand All @@ -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}`;
Expand Down
1 change: 0 additions & 1 deletion src/services/celebration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down