Skip to content

Commit

Permalink
fix bad references in ModalOverlay
Browse files Browse the repository at this point in the history
  • Loading branch information
hojberg committed Nov 30, 2023
1 parent 2071fbd commit 62e1c5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/UI/ModalOverlay.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class ModalOverlay extends HTMLElement {
}

connectedCallback() {
this.focus();
this.firstChild.focus();

this.addEventListener("keydown", this.onKeydown);
}
Expand Down

0 comments on commit 62e1c5d

Please sign in to comment.