diff --git a/ui/media/main.js b/ui/media/main.js index 2d8fd6cd..260ef0a3 100644 --- a/ui/media/main.js +++ b/ui/media/main.js @@ -532,6 +532,9 @@ async function doMakeImage(task) { throw new Error('Endpoint response does not contains a response stream url.') } task['taskStatusLabel'].innerText = "Busy/Waiting" + task['taskStatusLabel'].classList.add('waitingTaskLabel') + task['taskStatusLabel'].classList.remove('activeTaskLabel') + do { // Wait for server status to update. await asyncDelay(250) if (!isServerAvailable()) {