Fixed typo

The keyup event is different from the keydown event.