From 5b0148f669e3a2002a8f092af7211faa2dc4c7d8 Mon Sep 17 00:00:00 2001 From: Ajay Date: Thu, 24 Oct 2024 20:15:36 -0400 Subject: [PATCH] Fix hoverplay hider on new layout --- src/titles/titleRenderer.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/titles/titleRenderer.ts b/src/titles/titleRenderer.ts index 2a137a6..1b6d46f 100644 --- a/src/titles/titleRenderer.ts +++ b/src/titles/titleRenderer.ts @@ -532,7 +532,7 @@ async function createShowOriginalButton(originalTitleElement: HTMLElement, const getHoverPlayers = () => [ originalTitleElement.closest("#dismissible")?.querySelector?.("#mouseover-overlay") as HTMLElement, - document.querySelector("ytd-video-preview #player-container") as HTMLElement + document.querySelector("ytd-video-preview") as HTMLElement ]; const toggleDetails = async () => {