Renamed the accounting-selector-modal class to accounting-account-selector-modal in the account selector.

This commit is contained in:
依瑪貓 2023-02-28 22:14:03 +08:00
parent 08dc24605d
commit 20cb5cecc4
2 changed files with 2 additions and 2 deletions

View File

@ -480,7 +480,7 @@ function updateBalance(currencyIndex, entryType) {
* @private
*/
function initializeAccountSelectors() {
const selectors = Array.from(document.getElementsByClassName("accounting-selector-modal"));
const selectors = Array.from(document.getElementsByClassName("accounting-account-selector-modal"));
const formAccountControl = document.getElementById("accounting-entry-form-account-control");
const formAccount = document.getElementById("accounting-entry-form-account");
for (const selector of selectors) {

View File

@ -19,7 +19,7 @@ account-selector-modal.html: The modal for the account selector
Author: imacat@mail.imacat.idv.tw (imacat)
First written: 2023/2/25
#}
<div id="accounting-{{ entry_type }}-account-selector-modal" class="modal fade accounting-selector-modal" data-prefix="accounting-{{ entry_type }}-account" tabindex="-1" aria-labelledby="accounting-{{ entry_type }}-account-selector-modal-label" aria-hidden="true">
<div id="accounting-{{ entry_type }}-account-selector-modal" class="modal fade accounting-account-selector-modal" data-prefix="accounting-{{ entry_type }}-account" tabindex="-1" aria-labelledby="accounting-{{ entry_type }}-account-selector-modal-label" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">