diff --git a/public_html/media/js/core.js b/public_html/media/js/core.js index 525599d7..4e704346 100644 --- a/public_html/media/js/core.js +++ b/public_html/media/js/core.js @@ -210,4 +210,6 @@ $(function() Mousetrap.bind('q', function() { $('#top-nav input').focus(); return false; }); Mousetrap.bind('w', function() { $('body,html').animate({scrollTop: '-=150px'}, 200); }); Mousetrap.bind('s', function() { $('body,html').animate({scrollTop: '+=150px'}, 200); }); + Mousetrap.bind('a', function() { var url = $('.paginator .prev:not(.disabled) a').attr('href'); if (typeof url !== 'undefined') window.location.href = url; }); + Mousetrap.bind('d', function() { var url = $('.paginator .next:not(.disabled) a').attr('href'); if (typeof url !== 'undefined') window.location.href = url; }); });