Skip to content

Commit

Permalink
Corrected small syntax error
Browse files Browse the repository at this point in the history
  • Loading branch information
Oliver-ctrlo authored Sep 26, 2023
1 parent 7d6a86a commit 8b12962
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/frontend/components/record-popup/lib/component.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ class RecordPopupComponent extends Component {
initRecordPopup() {
$(this.element).on('click keydown', (ev) => {
if (ev.type === 'click' || (ev.type === 'keydown' && (ev.which === 13 || ev.which === 32))) {
this.handleClick(ev)
})
}
this.handleClick(ev);
}
});
}

handleClick(ev) {
Expand Down

0 comments on commit 8b12962

Please sign in to comment.