Renamed the variables in the summary editor.
This commit is contained in:
parent
f8e9871300
commit
063c769158
@ -181,8 +181,8 @@ class SummaryEditor {
|
|||||||
*/
|
*/
|
||||||
#onSummaryChange() {
|
#onSummaryChange() {
|
||||||
this.summary.value = this.summary.value.trim();
|
this.summary.value = this.summary.value.trim();
|
||||||
for (const tab of [this.tabPlanes.bus, this.tabPlanes.travel, this.tabPlanes.general]) {
|
for (const tabPlane of [this.tabPlanes.bus, this.tabPlanes.travel, this.tabPlanes.general]) {
|
||||||
if (tab.populate()) {
|
if (tabPlane.populate()) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -283,8 +283,8 @@ class SummaryEditor {
|
|||||||
*/
|
*/
|
||||||
#reset() {
|
#reset() {
|
||||||
this.summary.value = "";
|
this.summary.value = "";
|
||||||
for (const tab of Object.values(this.tabPlanes)) {
|
for (const tabPlane of Object.values(this.tabPlanes)) {
|
||||||
tab.reset();
|
tabPlane.reset();
|
||||||
}
|
}
|
||||||
this.tabPlanes.general.switchToMe();
|
this.tabPlanes.general.switchToMe();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user