Side navigation
#11052 closed bug (fixed)
Opened December 17, 2011 07:49PM UTC
Closed March 03, 2012 10:22PM UTC
Last modified March 09, 2012 08:40PM UTC
.keydown() example uses .keyCode instead of .which
| Reported by: | SidneySM | Owned by: | |
|---|---|---|---|
| Priority: | low | Milestone: | None |
| Component: | event | Version: | 1.7.1 |
| Keywords: | Cc: | ||
| Blocked by: | Blocking: |
Description
The .keydown() docs say that event.which is normalized, but the example uses event.keyCode.
Even though the "Enter" keyCode is the same in all browsers, the example should dogfood it's own best practice.