diff --git a/index.html b/index.html index 7fcfd41d..0eaea9dc 100644 --- a/index.html +++ b/index.html @@ -2055,7 +2055,7 @@
- + diff --git a/modules/ui/religions-editor.js b/modules/ui/religions-editor.js index a0587fb1..d07c0eeb 100644 --- a/modules/ui/religions-editor.js +++ b/modules/ui/religions-editor.js @@ -110,8 +110,8 @@ function editReligions() { body.querySelectorAll("div.states").forEach(el => el.addEventListener("click", selectReligionOnLineClick)); body.querySelectorAll("rect.zoneFill").forEach(el => el.addEventListener("click", religionChangeColor)); body.querySelectorAll("div > input.religionName").forEach(el => el.addEventListener("input", religionChangeName)); - body.querySelectorAll("div > select.religionType").forEach(el => el.addEventListener("change", religionChangeType)); - body.querySelectorAll("div > select.religionForm").forEach(el => el.addEventListener("change", religionChangeForm)); + body.querySelectorAll("div > select.religionType").forEach(el => el.addEventListener("input", religionChangeType)); + body.querySelectorAll("div > input.religionForm").forEach(el => el.addEventListener("input", religionChangeForm)); body.querySelectorAll("div > span.icon-arrows-cw").forEach(el => el.addEventListener("click", regenerateDeity)); body.querySelectorAll("div > span.icon-trash-empty").forEach(el => el.addEventListener("click", religionRemove));