helwasm: Stored button matches Correct (filled ocean); refocus console after pass modal

- is-stored now uses the same filled-ocean look as is-correct, so both confirmed
  states read identically
- closing the pass overlay (Set or Cancel) returns focus to the command line
This commit is contained in:
Oleksandr Kozachuk
2026-06-09 23:31:46 +02:00
parent 05613813de
commit 2f55846f70
2 changed files with 7 additions and 5 deletions
+2
View File
@@ -440,6 +440,7 @@
const pw = $("#passInput").value;
$("#passModal").classList.remove("show");
$("#passInput").value = "";
$("#cin").focus(); // return to the command line after the overlay closes
if (name == null) return;
appendLine('<span class="cmd">&gt; pass ' + esc(name) + "</span>");
if (!pw) {
@@ -504,6 +505,7 @@
passPending = null;
$("#passModal").classList.remove("show");
$("#passInput").value = "";
$("#cin").focus();
};
const ci = $("#cin");