diff --git a/twitch-ad-countdown-timer/script.js b/twitch-ad-countdown-timer/script.js index 0b67144..c84a783 100644 --- a/twitch-ad-countdown-timer/script.js +++ b/twitch-ad-countdown-timer/script.js @@ -273,8 +273,6 @@ function UpcomingAdWarning(warningSeconds) { upcomingAdWarningLocked = true; // Set the starting position of the countdown box - let width = upcomingAdWarningContainer.getBoundingClientRect().width; - upcomingAdWarningContainer.style.right = -width + "px"; countdownLabel.innerHTML = formatTime(warningSeconds); // Slide the countdown box on screen