Focus "OK" button on dialog-mode UI.
This commit is contained in:
parent
54da001682
commit
c3127b7a4d
|
@ -197,7 +197,7 @@ addEventListener("unload", e => {
|
|||
reload();
|
||||
close();
|
||||
}
|
||||
buttons.appendChild(b);
|
||||
buttons.appendChild(b).focus();
|
||||
b = document.createElement("button");
|
||||
b.textContent = _("Cancel");
|
||||
b.onclick = () => close();
|
||||
|
|
Loading…
Reference in New Issue