don't do prev/next on textarea
This commit is contained in:
parent
ec7f63ee1f
commit
05f0db73ff
1 changed files with 1 additions and 1 deletions
|
@ -75,7 +75,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");
|
||||
|
|
Reference in a new issue