Skip to content

Commit

Permalink
[MOD] Touch target
Browse files Browse the repository at this point in the history
  • Loading branch information
oscarrc committed Feb 9, 2023
1 parent 910e986 commit a284100
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion www/js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ const initKeyboard = () => {

// Touch events
Object.keys(keyTouchEvents).map( event => {
document.getElementById("keyboard").addEventListener(event, keyTouchEvents[event], { passive: true });
keyboard.addEventListener(event, keyTouchEvents[event], { passive: true });
})
}

Expand Down

0 comments on commit a284100

Please sign in to comment.