Skip to content

Commit

Permalink
remove safe selectors not supported
Browse files Browse the repository at this point in the history
  • Loading branch information
bbodine1 committed Dec 19, 2024
1 parent c6d219e commit 95095b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/assets/javascripts/keyboard_navigation.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ document.addEventListener('turbolinks:load', () => {
/*
* Trigger the click on the proxy element identified by the attribute.
*/
const keydownId = event.target?.dataset?.keydownId;
const keydownId = event.target.dataset.keydownId;
if (event.key === 'Enter' && keydownId) {
clickElementById(keydownId);
}
Expand Down

0 comments on commit 95095b0

Please sign in to comment.