FIX: Dropdowns following recent refactoring (#7)

This commit is contained in:
David Taylor 2022-01-14 00:48:07 +00:00 committed by GitHub
parent 9882e993c5
commit 9a002eed80
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -293,6 +293,11 @@ export default {
el.addEventListener("input", (inputEvent) =>
debounce(this, processChange, inputEvent, 150)
);
});
cooked
.querySelectorAll(".discourse-placeholder-select")
.forEach((el) => {
el.addEventListener("change", (inputEvent) =>
debounce(this, processChange, inputEvent, 150)
);