Skip to content
New issue

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

Exercise 40 answer doesn't work in firefox #76

Open
krivulcik opened this issue Jun 27, 2015 · 1 comment
Open

Exercise 40 answer doesn't work in firefox #76

krivulcik opened this issue Jun 27, 2015 · 1 comment
Labels

Comments

@krivulcik
Copy link
Contributor

The sample answer for Exercise 40 doesn't work in firefox because of https://bugzilla.mozilla.org/show_bug.cgi?id=112379 .

The code uses String.fromCharCode(e.keyCode) where e is keypress event. Firefox uses charCode for events which generate characters.

@krivulcik krivulcik changed the title Exercise 40 answer doesn Exercise 40 answer doesn't work in firefox Jun 27, 2015
@krivulcik
Copy link
Contributor Author

After changing the event in verifier from keypress to keyup, the exercise works in firefox, but the registered characters are converted to upper case. The exact same thing happens in Exercise 42, both in firefox and chromium - the verifier uses keyup event in Exercise 42.

@morenoh149 morenoh149 added the bug label Aug 26, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants