Hacker News new | comments | ask | show | jobs | submit login

Use preventDefault() so the arrow keys won't move the page if there are scrollbars.



Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | Legal | Apply to YC | Contact

Search: