mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-17 09:41:24 +01:00
v1.5.13 - Anarchy state form
This commit is contained in:
parent
a5b2f23cee
commit
d25965b618
4 changed files with 82 additions and 72 deletions
|
|
@ -295,7 +295,8 @@ function editStates() {
|
|||
const changed = nameChanged || formChanged || fullNameChanged;
|
||||
|
||||
if (formChanged) {
|
||||
const form = formSelect.selectedOptions[0].dataset.form || null;
|
||||
const selected = formSelect.selectedOptions[0];
|
||||
const form = selected.parentElement.label || null;
|
||||
if (form) s.form = form;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue