From b9b197ea2729d830063f0acfa9fef85a28f3bc6d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BE=9D=E7=91=AA=E8=B2=93?= Date: Sun, 19 Mar 2023 07:27:25 +0800 Subject: [PATCH] Removed the unused #modal property from the JavaScript OriginalEntrySelector class. --- src/accounting/static/js/original-entry-selector.js | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/accounting/static/js/original-entry-selector.js b/src/accounting/static/js/original-entry-selector.js index 24b8a7b..f7eb2db 100644 --- a/src/accounting/static/js/original-entry-selector.js +++ b/src/accounting/static/js/original-entry-selector.js @@ -34,12 +34,6 @@ class OriginalEntrySelector { */ #prefix = "accounting-original-entry-selector"; - /** - * The modal of the original entry editor - * @type {HTMLDivElement} - */ - #modal; - /** * The query input * @type {HTMLInputElement} @@ -92,7 +86,6 @@ class OriginalEntrySelector { * */ constructor() { - this.#modal = document.getElementById(this.#prefix + "-modal"); this.#query = document.getElementById(this.#prefix + "-query"); this.#queryNoResult = document.getElementById(this.#prefix + "-option-no-result"); this.#optionList = document.getElementById(this.#prefix + "-option-list");