From 4bfac2d5459ca857353d2e665820fc11d1c2678e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BE=9D=E7=91=AA=E8=B2=93?= Date: Fri, 24 Mar 2023 00:21:33 +0800 Subject: [PATCH] Removed an unused "noinspection JSValidateTypes" comment from the constructor of the JavaScript DebitCreditSubForm class. --- src/accounting/static/js/journal-entry-form.js | 1 - 1 file changed, 1 deletion(-) diff --git a/src/accounting/static/js/journal-entry-form.js b/src/accounting/static/js/journal-entry-form.js index 64e38d4..f6a4e8f 100644 --- a/src/accounting/static/js/journal-entry-form.js +++ b/src/accounting/static/js/journal-entry-form.js @@ -621,7 +621,6 @@ class DebitCreditSubForm { this.#content = document.getElementById(this.#prefix + "-content"); this.#error = document.getElementById(this.#prefix + "-error"); this.#lineItemList = document.getElementById(this.#prefix + "-list"); - // noinspection JSValidateTypes this.lineItems = Array.from(document.getElementsByClassName(this.#prefix)).map((element) => new LineItemSubForm(this, element)); this.#total = document.getElementById(this.#prefix + "-total"); this.#addLineItemButton = document.getElementById(this.#prefix + "-add-line-item");