From ecc17018b791ca4026f8d6e58307d9ddd29adc9c Mon Sep 17 00:00:00 2001 From: Tom Piccirello <8296030+Piccirello@users.noreply.github.com> Date: Thu, 14 May 2020 03:25:11 -0700 Subject: [PATCH] Fix Enter button behavior in web UI textarea Hitting the enter button inside the textarea would submit the form, rather than advancing to the next line. --- src/webui/www/private/addtrackers.html | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/webui/www/private/addtrackers.html b/src/webui/www/private/addtrackers.html index a482f3464..e78a24091 100644 --- a/src/webui/www/private/addtrackers.html +++ b/src/webui/www/private/addtrackers.html @@ -14,10 +14,6 @@ new Keyboard({ defaultEventType: 'keydown', events: { - 'Enter': function(event) { - $('addTrackersButton').click(); - event.preventDefault(); - }, 'Escape': function(event) { window.parent.closeWindows(); event.preventDefault();