summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYingtong Li <runassudo@yingtongli.me>2020-02-12 09:33:12 +1100
committerYingtong Li <runassudo@yingtongli.me>2020-02-12 09:33:12 +1100
commit0da9bebcaea22dc29cf6ff4edc0fb27552d80fed (patch)
tree38809155b8d360624b31cb49408fd0270c170ff1
parent1324195a1aa782ee8b342783dae638cf918d93c9 (diff)
Allow newlines in budget textareas
-rw-r--r--sstreasury/jinja2/sstreasury/budget_edit.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/sstreasury/jinja2/sstreasury/budget_edit.html b/sstreasury/jinja2/sstreasury/budget_edit.html
index 997e977..511f7b4 100644
--- a/sstreasury/jinja2/sstreasury/budget_edit.html
+++ b/sstreasury/jinja2/sstreasury/budget_edit.html
@@ -209,7 +209,7 @@
});
// 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;
if (keyCode === 13) {
e.preventDefault();
Contact (issues, pull requests, etc.) at git@yingtongli.me. Generated by cgit.