FIX pressing Enter confirms dialog after generating password
This commit is contained in:
parent
2489807158
commit
1d961690ec
1 changed files with 1 additions and 0 deletions
1
app.py
1
app.py
|
|
@ -268,6 +268,7 @@ function genPassword() {
|
||||||
$("#pw-input").value = pw;
|
$("#pw-input").value = pw;
|
||||||
$("#pw-input").type = "text";
|
$("#pw-input").type = "text";
|
||||||
$("#pw-msg").textContent = "Copy this password before setting it.";
|
$("#pw-msg").textContent = "Copy this password before setting it.";
|
||||||
|
$("#pw-input").focus();
|
||||||
}
|
}
|
||||||
|
|
||||||
function removePassword() {
|
function removePassword() {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue