Removed the redundant "summary" parameter from the "#onOpen" and static "start" methods of JavaScript SummaryEditor.

This commit is contained in:
2023-03-18 18:00:54 +08:00
parent 38c394c0af
commit fc766724c4
2 changed files with 5 additions and 7 deletions

View File

@ -220,7 +220,7 @@ class JournalEntryEditor {
this.#amountError = document.getElementById(this.#prefix + "-amount-error");
this.#originalEntryControl.onclick = () => OriginalEntrySelector.start(this, this.originalEntryId);
this.#originalEntryDelete.onclick = () => this.clearOriginalEntry();
this.#summaryControl.onclick = () => SummaryEditor.start(this, this.summary);
this.#summaryControl.onclick = () => SummaryEditor.start(this);
this.#accountControl.onclick = () => AccountSelector.start(this, this.entryType);
this.#amount.onchange = () => this.#validateAmount();
this.#element.onsubmit = () => {