Keldos commited on
Commit
bb4c268
1 Parent(s): dc5bb21

chore: 调整更新失败字符串

Browse files
Files changed (1) hide show
  1. web_assets/javascript/updater.js +1 -1
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 = i18n(updateFailure_i18n);
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();