fix select won't update #10

This commit is contained in:
RikaCelery 2023-07-27 14:25:04 +08:00
parent d6c3726719
commit a7263ce73e

View File

@ -65,3 +65,7 @@ generate('generator_body')
for (const input of document.querySelectorAll('input')) { for (const input of document.querySelectorAll('input')) {
input.addEventListener('input', () => generate('generator_body')) input.addEventListener('input', () => generate('generator_body'))
} }
for (const input of document.querySelectorAll('select')) {
input.addEventListener('input', () => generate('generator_body'))
}