diff --git a/resources/public/js/main.js b/resources/public/js/main.js index c72d6df..c65a8b1 100644 --- a/resources/public/js/main.js +++ b/resources/public/js/main.js @@ -5,6 +5,10 @@ $(function () { }); $(document).on('keydown', function(e) { + // Only replace the arrow key functionif there are not needed + if ($('form input, form textarea').filter(':focus').length > 0) + return; + switch (e.keyCode) { case 76: // l case 39: // -->