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:
@@ -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">> pass ' + esc(name) + "</span>");
|
||||
if (!pw) {
|
||||
@@ -504,6 +505,7 @@
|
||||
passPending = null;
|
||||
$("#passModal").classList.remove("show");
|
||||
$("#passInput").value = "";
|
||||
$("#cin").focus();
|
||||
};
|
||||
|
||||
const ci = $("#cin");
|
||||
|
||||
Reference in New Issue
Block a user