Skip to content

Commit

Permalink
Fix hoverplay hider on new layout
Browse files Browse the repository at this point in the history
  • Loading branch information
ajayyy committed Oct 25, 2024
1 parent 7e77404 commit 5b0148f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/titles/titleRenderer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 () => {
Expand Down

0 comments on commit 5b0148f

Please sign in to comment.