diff --git a/src/accounting/static/js/summary-editor.js b/src/accounting/static/js/summary-editor.js index afa2ee1..07af029 100644 --- a/src/accounting/static/js/summary-editor.js +++ b/src/accounting/static/js/summary-editor.js @@ -180,6 +180,7 @@ class SummaryEditor { * */ #onSummaryChange() { + this.summary.value = this.summary.value.trim(); for (const tab of [this.tabPlanes.bus, this.tabPlanes.travel, this.tabPlanes.general]) { if (tab.populate()) { break;