From 8b1296201993b05ecfce563b0d6dcb09b81587cd Mon Sep 17 00:00:00 2001 From: Oliver-ctrlo <119069310+Oliver-ctrlo@users.noreply.github.com> Date: Tue, 26 Sep 2023 09:17:23 +0100 Subject: [PATCH] Corrected small syntax error --- src/frontend/components/record-popup/lib/component.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/frontend/components/record-popup/lib/component.js b/src/frontend/components/record-popup/lib/component.js index 6ae895b81..b164feeae 100644 --- a/src/frontend/components/record-popup/lib/component.js +++ b/src/frontend/components/record-popup/lib/component.js @@ -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) {