diff options
author | Bernhard Posselt <nukeawhale@gmail.com> | 2013-04-22 18:26:25 +0200 |
---|---|---|
committer | Bernhard Posselt <nukeawhale@gmail.com> | 2013-04-22 18:26:25 +0200 |
commit | d72ddb277f2d03ddd9700dd640350dcebc6b1cc8 (patch) | |
tree | e5181d44651892683d232b6e0d95bbaf6b360aeb /js/public | |
parent | df18314b32b05f10720936831ed43573e1792ae6 (diff) |
add n and p for next and previous
Diffstat (limited to 'js/public')
-rw-r--r-- | js/public/app.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/js/public/app.js b/js/public/app.js index f0c783ba1..e38b6670d 100644 --- a/js/public/app.js +++ b/js/public/app.js @@ -201,9 +201,9 @@ License along with this library. If not, see <http://www.gnu.org/licenses/>. focused = $(':focus'); if (!(focused.is('input') || focused.is('select') || focused.is('textarea') || focused.is('checkbox') || focused.is('button'))) { scrollArea = elm; - if (e.keyCode === 74 || e.keyCode === 39) { + if (e.keyCode === 74 || e.keyCode === 39 || e.keyCode === 78) { return jumpToNextItem(scrollArea); - } else if (e.keyCode === 75 || e.keyCode === 37) { + } else if (e.keyCode === 75 || e.keyCode === 37 || e.keyCode === 80) { return jumpToPreviousItem(scrollArea); } } |