Skip to content

Commit

Permalink
fix(remaining time): not appearing properly
Browse files Browse the repository at this point in the history
  • Loading branch information
VampireChicken12 committed Nov 11, 2024
1 parent 9b1c844 commit 718ea39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/features/remainingTime/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export async function setupRemainingTime() {
} = await waitForSpecificMessage("options", "request_data", "content");
// If remaining time option is disabled, return
if (!enable_remaining_time) return;
const timeDisplay = document.querySelector(".ytp-time-display > span:nth-of-type(2)");
const timeDisplay = document.querySelector(".ytp-time-display > span.ytp-time-wrapper");
if (!timeDisplay) return;
// Get the player element
const playerContainer =
Expand Down

0 comments on commit 718ea39

Please sign in to comment.