From 6943d2d564ce1d6d17f75f51d74f4c135cc7c2ad Mon Sep 17 00:00:00 2001 From: altaf-creator Date: Tue, 2 Dec 2025 17:03:44 +0700 Subject: it works --- frontend/main.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'frontend/main.js') 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"]); } -- cgit v1.2.3