From 5194258b486414f80d58514aa3fe601245ba11b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BE=9D=E7=91=AA=E8=B2=93?= Date: Fri, 10 Mar 2023 12:00:33 +0800 Subject: [PATCH] Removed the redundant #init method from the JavaScript AccountSelector class. --- src/accounting/static/js/account-selector.js | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/accounting/static/js/account-selector.js b/src/accounting/static/js/account-selector.js index 2268371..d8bb044 100644 --- a/src/accounting/static/js/account-selector.js +++ b/src/accounting/static/js/account-selector.js @@ -53,14 +53,6 @@ class AccountSelector { constructor(modal) { this.#entryType = modal.dataset.entryType; this.#prefix = "accounting-account-selector-" + modal.dataset.entryType; - this.#init(); - } - - /** - * Initializes the account selector. - * - */ - #init() { const formAccountControl = document.getElementById("accounting-entry-form-account-control"); const formAccount = document.getElementById("accounting-entry-form-account"); const more = document.getElementById(this.#prefix + "-more");