Skip to content

Commit

Permalink
fix(): bug fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasGysemans committed Apr 23, 2021
1 parent 2710473 commit 23390d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/JSPanel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ class JSPanel {
this._closePanel();
});

button.addEventListener("keydown", (e: KeyboardEvent) => {
window.addEventListener("keydown", (e: KeyboardEvent) => {
if (e.key === "Tab" || e.keyCode === 9) {
if (this._isOpen()) this._focusInPanel(e);
}
Expand Down

0 comments on commit 23390d3

Please sign in to comment.