mirror of
https://github.com/nuttylmao/nutty.gg.git
synced 2026-09-18 19:50:58 -04:00
If this doesn't work, I'm deleting the whole repo
This commit is contained in:
@@ -166,12 +166,11 @@ function TwitchUpcomingAd(data) {
|
||||
|
||||
if (!upcomingAdWarningStartDelay)
|
||||
upcomingAdWarningStartDelay = warningMinute * 60 - warningSeconds;
|
||||
else
|
||||
return;
|
||||
|
||||
// Start the countdown animation
|
||||
setTimeout(() => {
|
||||
if (!upcomingAdWarningStartDelay)
|
||||
console.debug('Upcomfing Ad Warning Countdown start...');
|
||||
if (upcomingAdWarningStartDelay)
|
||||
UpcomingAdWarning(warningSeconds);
|
||||
}, upcomingAdWarningStartDelay * 1000);
|
||||
}
|
||||
@@ -421,4 +420,6 @@ function SetConnectionStatus(connected) {
|
||||
statusContainer.style.transition = "";
|
||||
statusContainer.style.opacity = 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
TwitchUpcomingAd()
|
||||
Reference in New Issue
Block a user