Skip to content

Commit

Permalink
fix: keypress is deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
knownasilya committed Sep 25, 2020
1 parent cecbdb9 commit ff3b2f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addon/components/x-toggle/template.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
...attributes
{{on 'focusin' this.handleFocusIn}}
{{on 'focusout' this.handleFocusOut}}
{{on 'keypress' this.spacebarToggle}}
{{on 'keydown' this.spacebarToggle}}
>
{{#if hasBlock}}
{{yield
Expand Down

0 comments on commit ff3b2f7

Please sign in to comment.