Skip to content

Commit

Permalink
Revert "Fallback to other things when keyCode is not available"
Browse files Browse the repository at this point in the history
This reverts commit 016d44a.
  • Loading branch information
process-bot committed Dec 8, 2015
1 parent 016d44a commit a3aa09b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Native/Keyboard.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Elm.Native.Keyboard.make = function(localRuntime) {
return {
alt: event.altKey,
meta: event.metaKey,
keyCode: event.keyCode || event.which || event.charCode || 0
keyCode: event.keyCode
};
}

Expand Down

0 comments on commit a3aa09b

Please sign in to comment.