Fixed to trim the summary when it is changed in the summary editor.
This commit is contained in:
parent
78a62a9575
commit
f8e9871300
@ -180,6 +180,7 @@ class SummaryEditor {
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
#onSummaryChange() {
|
#onSummaryChange() {
|
||||||
|
this.summary.value = this.summary.value.trim();
|
||||||
for (const tab of [this.tabPlanes.bus, this.tabPlanes.travel, this.tabPlanes.general]) {
|
for (const tab of [this.tabPlanes.bus, this.tabPlanes.travel, this.tabPlanes.general]) {
|
||||||
if (tab.populate()) {
|
if (tab.populate()) {
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user