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.
This commit is contained in:
Tom Piccirello
2020-05-14 03:25:11 -07:00
committed by GitHub
parent 841536c9c5
commit ecc17018b7

View File

@@ -14,10 +14,6 @@
new Keyboard({
defaultEventType: 'keydown',
events: {
'Enter': function(event) {
$('addTrackersButton').click();
event.preventDefault();
},
'Escape': function(event) {
window.parent.closeWindows();
event.preventDefault();