diff options
-rw-r--r-- | js/main.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/js/main.js b/js/main.js index bde28dd23..7c8e73c93 100644 --- a/js/main.js +++ b/js/main.js @@ -128,12 +128,12 @@ $(document).ready(function(){ }); $(document).keyup(function(e) { - if ((e.keyCode || e.which) == 74 || (e.keyCode || e.which) == 39) { // 'j' key shortcut + if ((e.keyCode || e.which) == 74) { // 'j' key shortcut if(!$('.dialog').is(':visible')){ News.Objects.Items.jumpToNext(); } } - if ((e.keyCode || e.which) == 75 || (e.keyCode || e.which) == 37) { // 'k' key shortcut + if ((e.keyCode || e.which) == 75) { // 'k' key shortcut if(!$('.dialog').is(':visible')){ News.Objects.Items.jumpToPrevious(); } |