Fixed the operator in the selectAccount method of the JavaScript DescriptionEditor editor.

This commit is contained in:
依瑪貓 2023-04-03 10:44:22 +08:00
parent c3fc6d9a87
commit f3d43a66cc

View File

@ -284,7 +284,7 @@ class DescriptionEditor {
} }
this.selectedAccount = selectedAccount; this.selectedAccount = selectedAccount;
if (this.selectedAccount !== null) { if (this.selectedAccount !== null) {
this.#isAccountConfirmed &= this.selectedAccount.isConfirmedAccount; this.#isAccountConfirmed &&= this.selectedAccount.isConfirmedAccount;
} }
} }