]> git.ardis.lu - ens2hex/commitdiff
Remove fetching state on early return
authorArdis Lu <ardisglu@gmail.com>
Thu, 9 Nov 2023 05:13:09 +0000 (21:13 -0800)
committerArdis Lu <ardisglu@gmail.com>
Thu, 9 Nov 2023 05:13:09 +0000 (21:13 -0800)
index.html

index 6c89fec0c1a23050b93de58b7d0116051ed0908f..4ec73483bf13c1d12cd4a11729e286a8ebfa347d 100644 (file)
 
       if (cleaned.length === 0) {
         status.textContent = 'No valid ENS names found.';
+        spinner.style.setProperty('display', 'none');
+        event.target.removeAttribute('data-submitting');
         return;
       }
 
This page took 0.038096 seconds and 4 git commands to generate.