Skip to content

Commit

Permalink
await initLoopSegment
Browse files Browse the repository at this point in the history
  • Loading branch information
DarhkVoyd committed Sep 12, 2024
1 parent 2c45da8 commit 9c7fa02
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@ const runWatch = async (context: YouTubeWatchContext): Promise<void> => {
}
const progressBar = await elementReady("div.ytp-progress-bar-container");
if (progressBar) {
await initLoopSegment();
progressBar.append(LoopSegmentStartMarker, LoopSegmentEndMarker);
initLoopSegment();
}
playerSettingsButton.removeEventListener("click", onSettingsMenu);
playerSettingsButton.addEventListener("click", onSettingsMenu, {
Expand Down

0 comments on commit 9c7fa02

Please sign in to comment.