Allow newlines in budget textareas

This commit is contained in:
Yingtong Li 2020-02-12 09:33:12 +11:00
parent 1324195a1a
commit 0da9bebcae
Signed by: RunasSudo
GPG Key ID: 7234E476BF21C61A

View File

@ -209,7 +209,7 @@
}); });
// Interferes with jsGrid // Interferes with jsGrid
$('.ui.form').on('keyup keypress', function(e) { $('.ui.form').on('keyup keypress', ':input:not(textarea)', function(e) {
var keyCode = e.keyCode || e.which; var keyCode = e.keyCode || e.which;
if (keyCode === 13) { if (keyCode === 13) {
e.preventDefault(); e.preventDefault();