This commit is contained in:
Shish 2020-03-02 12:16:47 +00:00
parent 126412fb4b
commit 2f51c14afd

View file

@ -74,7 +74,7 @@ $(document).ready(function() {
/** setup arrow key bindings **/
$(document).keyup(function(e) {
if($(e.target).is('input,textarea')){ return; }
if ($(e.target).is('input,textarea')) { return; }
if (e.metaKey || e.ctrlKey || e.altKey || e.shiftKey) { return; }
if (e.keyCode === 37 && $("[rel='previous']").length) {
window.location.href = $("[rel='previous']").attr("href");