fix select won't update #10

Merge pull request #17 from RikaCelery/cli2re
This commit is contained in:
RikaCelery
2023-07-27 14:27:20 +08:00
committed by GitHub

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'))
}