From: Ardis Lu Date: Thu, 9 Nov 2023 05:13:09 +0000 (-0800) Subject: Remove fetching state on early return X-Git-Url: https://git.ardis.lu/?a=commitdiff_plain;h=35681e24044ab1d0993558ac4f05de75860ef244;p=ens2hex Remove fetching state on early return --- diff --git a/index.html b/index.html index 6c89fec..4ec7348 100644 --- a/index.html +++ b/index.html @@ -397,6 +397,8 @@ if (cleaned.length === 0) { status.textContent = 'No valid ENS names found.'; + spinner.style.setProperty('display', 'none'); + event.target.removeAttribute('data-submitting'); return; }