diff --git a/manage/updater-ui.js b/manage/updater-ui.js index dbfc1d1c..5a77f713 100644 --- a/manage/updater-ui.js +++ b/manage/updater-ui.js @@ -79,7 +79,7 @@ function checkUpdateAll() { const maxWidth = progress.parentElement.clientWidth; progress.style.width = Math.round(checked / total * maxWidth) + 'px'; - if (checked < total) return; + if (!info.done) return; port.onMessage.removeListener(observer); document.body.classList.remove('update-in-progress');