Skip to content

Commit 517393a

Browse files
authored
Merge pull request #2495 from hydra/set-focus-on-problems-dialog
Put keyboard focus on the 'Close' button of the problems dialog.
2 parents ceea7ef + 90de776 commit 517393a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/js/serial_backend.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -429,6 +429,7 @@ function checkReportProblems() {
429429

430430
problemDialog.showModal();
431431
$('#dialogReportProblems').scrollTop(0);
432+
$('#dialogReportProblems-closebtn').focus();
432433
}
433434

434435
processUid();

0 commit comments

Comments
 (0)