diff options
| author | altaf-creator <dev@altafcreator.com> | 2025-12-02 17:03:44 +0700 |
|---|---|---|
| committer | altaf-creator <dev@altafcreator.com> | 2025-12-02 17:03:44 +0700 |
| commit | 6943d2d564ce1d6d17f75f51d74f4c135cc7c2ad (patch) | |
| tree | b7d766ebca7a2839812640bcf3abb892775619b5 /frontend | |
| parent | 73619a4a50fcd8d8a6de23f091e0ce8351e832a4 (diff) | |
it works
Diffstat (limited to 'frontend')
| -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"]); } |
