diff options
| -rw-r--r-- | frontend/main.js | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/frontend/main.js b/frontend/main.js index 561bb72..5029a8c 100644 --- a/frontend/main.js +++ b/frontend/main.js @@ -79,7 +79,12 @@ async function information(urlParam = null) { const json = await response.json(); - document.getElementById("logo-id").innerText = json["block"]; + if (json["block"]) { + document.getElementById("logo-id").innerText = "H" + json["block"]; + } else { + document.getElementById("logo-id").innerText = "H?"; + } + return Promise.resolve(json["block"]); } |
