Closed richard77 closed 11 years ago
It looks like you shouldn't need the lines that read "keyCode = if (window.event) then window.event.keyCode else e.keyCode" because you're already doing "e = e or window.event" when first handling the events. Unless I'm missing something.
you're right, this was an earlier attempt to fix things. it can be removed/ignored
2012/12/19 David Mauro notifications@github.com
It looks like you shouldn't need the lines that read "keyCode = if (window.event) then window.event.keyCode else e.keyCode" because you're already doing "e = e or window.event" when first handling the events. Unless I'm missing something.
— Reply to this email directly or view it on GitHubhttps://github.com/dmauro/Keypress/pull/4#issuecomment-11546484.
Awesome, nice work!
I made some minor changes and recompiled the minified JS.
Although not intensively tested it seems to be working in IE8. In short: