We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
https://developer.mozilla.org/en-US/docs/Web/API/UIEvent/which
mousetrap/mousetrap.js
Line 721 in 2f9a476
if (typeof e.which !== 'number') { e.which = e.keyCode; }
should becomes something like
const charCode = (typeof e.which == "number") ? e.which : e.keyCode;
and charCode should be passed to methods later instead of using e.which everywhere.
charCode
e.which
The text was updated successfully, but these errors were encountered:
No branches or pull requests
https://developer.mozilla.org/en-US/docs/Web/API/UIEvent/which
![image](./?url=aHR0cHM6Ly91c2VyLWltYWdlcy5naXRodWJ1c2VyY29udGVudC5jb20vMTA2MjY3NTYvMTMzOTI3MTM2LTdlNDBhMTY0LWUzNmItNDlmNC1iYTQxLWM4YmM5ODA3MzljYi5wbmc=&__proxy_form=0)
mousetrap/mousetrap.js
Line 721 in 2f9a476
should becomes something like
and
charCode
should be passed to methods later instead of usinge.which
everywhere.The text was updated successfully, but these errors were encountered: