Refactor updateInteractionBar to call async startLiveCountdown
This commit is contained in:
@@ -352,7 +352,7 @@ async function updateInteractionBar(folderObj) {
|
|||||||
startLiveCountdown(folderObj, msLeft);
|
startLiveCountdown(folderObj, msLeft);
|
||||||
}
|
}
|
||||||
|
|
||||||
function startLiveCountdown(folderObj, msLeft) {
|
async function startLiveCountdown(folderObj, msLeft) {
|
||||||
if (countdownInterval) clearInterval(countdownInterval);
|
if (countdownInterval) clearInterval(countdownInterval);
|
||||||
|
|
||||||
// Wenn kein Countdown nötig: 00:00 anzeigen
|
// Wenn kein Countdown nötig: 00:00 anzeigen
|
||||||
|
|||||||
Reference in New Issue
Block a user