adjust error display

This commit is contained in:
Ave
2023-05-29 06:58:02 +00:00
parent b24cbd750c
commit 4404d939a4
+1 -1
View File
@@ -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";