Skip to content

Commit

Permalink
Merge pull request #1 from Chifrica/my-branch
Browse files Browse the repository at this point in the history
Update app.js
  • Loading branch information
Chifrica authored Feb 14, 2024
2 parents 1fa2180 + e9b1cfe commit b955cc6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import { Hint } from './components/Hint';
import { actions } from './store';
import '../css/main.css';

// register function that listens to any call
export function registerListeners() {
document.addEventListener('keyup', event => {
const key = event.key || event.keyCode; // For older browser support
Expand Down

0 comments on commit b955cc6

Please sign in to comment.