Spaces:
Sleeping
Sleeping
Keldos
commited on
Commit
•
bb4c268
1
Parent(s):
dc5bb21
chore: 调整更新失败字符串
Browse files
web_assets/javascript/updater.js
CHANGED
@@ -28,7 +28,7 @@ var statusObserver = new MutationObserver(function (mutationsList) {
|
|
28 |
isLatestVersion = true;
|
29 |
enableUpdateBtns();
|
30 |
} else if (getUpdateStatus() === "failure") {
|
31 |
-
updatingInfoElement.innerHTML =
|
32 |
disableUpdateBtn_enableCancelBtn();
|
33 |
} else if (getUpdateStatus() != "") {
|
34 |
updatingInfoElement.innerText = getUpdateStatus();
|
|
|
28 |
isLatestVersion = true;
|
29 |
enableUpdateBtns();
|
30 |
} else if (getUpdateStatus() === "failure") {
|
31 |
+
updatingInfoElement.innerHTML = marked.parse(updateFailure_i18n, {mangle: false, headerIds: false});
|
32 |
disableUpdateBtn_enableCancelBtn();
|
33 |
} else if (getUpdateStatus() != "") {
|
34 |
updatingInfoElement.innerText = getUpdateStatus();
|