mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-11-23 07:47:54 +00:00
Preventing left/right arrow key navigation in textareas
This commit is contained in:
parent
7f5e927f0c
commit
ef2ab7ad8a
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