Fix: 新規登録設定画面の有効・無効判定条件ミス (#632)

This commit is contained in:
KMY(雪あすか) 2024-03-04 13:13:04 +09:00 committed by GitHub
parent 941705be62
commit 0ed58512a1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -219,7 +219,7 @@ const onChangeRegistrationMode = (target: HTMLSelectElement) => {
const toggleEnabled = (input: HTMLInputElement, value: boolean) => {
input.disabled = !value;
if (enabled) {
if (value) {
let element: HTMLElement | null = input;
do {
element.classList.remove('disabled');