Skip to content

Commit c3127b7

Browse files
committed
Focus "OK" button on dialog-mode UI.
1 parent 54da001 commit c3127b7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/ui/popup.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ addEventListener("unload", e => {
197197
reload();
198198
close();
199199
}
200-
buttons.appendChild(b);
200+
buttons.appendChild(b).focus();
201201
b = document.createElement("button");
202202
b.textContent = _("Cancel");
203203
b.onclick = () => close();

0 commit comments

Comments
 (0)