mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-17 17:51:24 +01:00
limit units - complete
This commit is contained in:
parent
bdc0c9f8ee
commit
2dc0959c23
2 changed files with 67 additions and 41 deletions
|
|
@ -321,7 +321,7 @@ function overviewMilitary() {
|
|||
|
||||
const lines = data.slice(1).map(
|
||||
({i, name, fullName, color}) =>
|
||||
`<tr><td><span style="color:${color}">⬤</span></td>
|
||||
`<tr data-tip="${name}"><td><span style="color:${color}">⬤</span></td>
|
||||
<td><input id="el${i}" type="checkbox" class="checkbox" ${!initial.length || initial.includes(i) ? "checked" : ""} >
|
||||
<label for="el${i}" class="checkbox-label">${fullName || name}</label>
|
||||
</td></tr>`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue