Skip to content

Commit

Permalink
[call-me] - fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
miroslavpejic85 committed Dec 14, 2024
1 parent 4d70206 commit d7a096c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/client.js
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ usernameIn.addEventListener('keyup', (e) => handleKeyUp(e, handleSignInClick));

// Generic keyUp handler
function handleKeyUp(e, callback) {
if (e.keyCode === 13) {
if (e.key === 'Enter') {
e.preventDefault();
callback();
}
Expand Down

0 comments on commit d7a096c

Please sign in to comment.