From 1d961690ecad26b06cc7a54ba918ef9cd1e934e0 Mon Sep 17 00:00:00 2001 From: CaffeineFueled Date: Mon, 2 Mar 2026 21:43:13 +0100 Subject: [PATCH] FIX pressing Enter confirms dialog after generating password --- app.py | 1 + 1 file changed, 1 insertion(+) diff --git a/app.py b/app.py index 19300f0..3d64413 100644 --- a/app.py +++ b/app.py @@ -268,6 +268,7 @@ function genPassword() { $("#pw-input").value = pw; $("#pw-input").type = "text"; $("#pw-msg").textContent = "Copy this password before setting it."; + $("#pw-input").focus(); } function removePassword() {