Skip to content

Commit

Permalink
fix: dupe hide scroll bar elements
Browse files Browse the repository at this point in the history
  • Loading branch information
livingflore committed Dec 28, 2024
1 parent 0f27e3b commit 8c58787
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/features/hideScrollBar/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,6 @@ export async function enableHideScrollBar() {
} = await waitForSpecificMessage("options", "request_data", "content");
// If the hide scroll bar option is disabled, return
if (!enable_hide_scrollbar) return;
if (document.getElementById("yte-hide-scroll-bar")) return;
hideScrollBar();
}

0 comments on commit 8c58787

Please sign in to comment.