Fixed to trim the summary when it is changed in the summary editor.

This commit is contained in:
imacat committed 2023-03-04 07:01:02 +08:00
1 parent 78a62a9575
commit f8e9871300
1 file changed
+1
@@ -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;