diff --git a/src/platforms/tum-live.ts b/src/platforms/tum-live.ts index 27d5409..09d7299 100644 --- a/src/platforms/tum-live.ts +++ b/src/platforms/tum-live.ts @@ -4,9 +4,7 @@ import { VideoManager } from "../videos"; // this function is executed in the page context of the stream page // to generate a better title bases on data available on the page function getTitleForTumLiveVideo(): string { - const textElement = - document.getElementById("bookmarks-desktop")?.nextElementSibling ?? - document.getElementById("watchWrapper")?.nextElementSibling; + const textElement = document.getElementById("streams-box")?.nextElementSibling; if (textElement) { return (textElement as HTMLElement).innerText .split("\n")