Saturday, April 23, 2011

Sleep is for losers

Or I could just deploy it.  I'd forgotten about the fact that if you preventDefault on a keydown, the browser never triggers the keypress event.

So, keydown handles arrow keys and keys with modifiers.

keypress handles everything else.

It's working, and I've pushed it.  Anyone have an '@' somewhere other than over the two?  Everything should work right now.

Now it's really bed time. =)

0 comments:

Post a Comment