From ef2ab7ad8a8403a6fedfef8fca3ec9b91b9ba70d Mon Sep 17 00:00:00 2001 From: Ryan Nixon Date: Fri, 15 Feb 2019 10:11:16 -0800 Subject: [PATCH] Preventing left/right arrow key navigation in textareas --- static/js/learn.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/js/learn.js b/static/js/learn.js index 1b5d59ffb6..8a6b55ba16 100644 --- a/static/js/learn.js +++ b/static/js/learn.js @@ -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();