From 4404d939a437b75b4142ea70020a5d59d492131d Mon Sep 17 00:00:00 2001 From: Ave <112294121+Ave9858@users.noreply.github.com> Date: Mon, 29 May 2023 06:58:02 +0000 Subject: [PATCH] adjust error display --- js/msdl.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/msdl.js b/js/msdl.js index 97d1dca..be696b7 100644 --- a/js/msdl.js +++ b/js/msdl.js @@ -96,6 +96,7 @@ function onDownloadsXhrChange() { } function getFromServer() { + processingError.style.display = "none"; let url = apiUrl + "?product_id=" + window.location.hash.substring(1) + "&sku_id=" + skuId; let xhr = new XMLHttpRequest(); @@ -106,7 +107,6 @@ function getFromServer() { function displayResponseFromServer() { pleaseWait.style.display = "none"; - processingError.style.display = "none"; if (!(this.status == 200)) { processingError.style.display = "block";