fix i js
This commit is contained in:
@@ -76,13 +76,13 @@ function showProgress() {
|
|||||||
window.progressInitTimeout = setTimeout(() => {
|
window.progressInitTimeout = setTimeout(() => {
|
||||||
if (progressMessage && progressMessage.textContent === 'Initializing...') {
|
if (progressMessage && progressMessage.textContent === 'Initializing...') {
|
||||||
progressMessage.innerHTML = `
|
progressMessage.innerHTML = `
|
||||||
<div>Request is being processed for over 10 seconds.</div>
|
<div>Request is being processed..</div>
|
||||||
<div style="margin-top: 10px; color: #856404; background: #fff3cd; padding: 10px; border-radius: 4px; font-size: 0.9em;">
|
<div style="margin-top: 10px; color: #856404; background: #fff3cd; padding: 10px; border-radius: 4px; font-size: 0.9em;">
|
||||||
The task is queued and will start automatically once current processing is finished.
|
The task is queued and will start automatically.
|
||||||
</div>
|
</div>
|
||||||
`;
|
`;
|
||||||
}
|
}
|
||||||
}, 10000);
|
}, 5000);
|
||||||
|
|
||||||
startProgressPolling();
|
startProgressPolling();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user