From 3ff0fa7e0bee67e8947351e860567e7db10195ef Mon Sep 17 00:00:00 2001 From: Leon W Date: Mon, 30 Oct 2023 10:34:26 +0100 Subject: [PATCH] fix name generation for tum live --- src/platforms/tum-live.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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")