feat: export episodeElements helper

This commit is contained in:
2026-07-06 20:47:10 +02:00
parent 528af5bf8b
commit eab4d5e302

View File

@@ -2,7 +2,7 @@ import { state } from "../state";
type EpisodeTitle = { number: number; title: string };
const episodeElements = (): HTMLElement[] => {
export const episodeElements = (): HTMLElement[] => {
const elements: HTMLElement[] = [];
for (const container of [state.elements.episodeGrid, state.elements.episodeList]) {
container?.querySelectorAll<HTMLElement>("[data-episode-id]").forEach((element) => {