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 58c606b commit 6089312
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/UI/ModalOverlay.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ class ModalOverlay extends HTMLElement {
connectedCallback() {
this.focus();

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

disconnectedCallback() {
this.removeEventListener("keydown", this.onMouseDown);
this.removeEventListener("keydown", this.onKeydown);
}
}

Expand Down

0 comments on commit 6089312

Please sign in to comment.