mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2025-01-19 03:10:24 +00:00
Merge pull request #241 from taiidani/patch-1
Preventing left/right arrow key navigation in textareas
This commit is contained in:
commit
d6cce1c3ff
1 changed files with 1 additions and 1 deletions
|
@ -223,7 +223,7 @@ jQuery(document).ready(function() {
|
|||
});
|
||||
});
|
||||
|
||||
jQuery('input').keydown(function (e) {
|
||||
jQuery('input, textarea').keydown(function (e) {
|
||||
// left and right arrow keys
|
||||
if (e.which == '37' || e.which == '39') {
|
||||
e.stopPropagation();
|
||||
|
|
Loading…
Reference in a new issue