mirror of
https://github.com/gravesoft/msdl.git
synced 2026-07-25 08:34:28 +00:00
adjust error display
This commit is contained in:
+1
-1
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user