From 36c4a7079dc8e3eb85a77c940d90242edcce8a59 Mon Sep 17 00:00:00 2001 From: void-57 Date: Sat, 25 Oct 2025 00:53:19 +0530 Subject: [PATCH] Hide address container when search type is set to hash --- index.html | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/index.html b/index.html index 487b3b4..b0b7aec 100644 --- a/index.html +++ b/index.html @@ -2183,7 +2183,13 @@ const list = document.getElementById("searchedAddressesList"); if (!container || !list) return; - + const searchType = document.querySelector( + 'input[name="searchType"]:checked' + )?.value; + if (searchType === "hash") { + container.style.display = "none"; + return; + } if (addresses.length === 0) { container.style.display = "none"; return;