diff --git a/index.html b/index.html
index 89c77396..4a36f3d4 100644
--- a/index.html
+++ b/index.html
@@ -5597,7 +5597,9 @@
${lineData}
-
${si(total)}
+
${si(
+ total
+ )}
${si(population)}
-
${rn(rate, 2)}%
+
${rn(
+ rate,
+ 2
+ )}%
s.military.reduce((s, r) => s + (r.u[u.name] || 0), 0);
- options.military.forEach(u => (line.dataset[u.name] = line.querySelector(`div[data-type='${u.name}']`).innerHTML = getForces(u)));
+ options.military.forEach(
+ u => (line.dataset[u.name] = line.querySelector(`div[data-type='${u.name}']`).innerHTML = getForces(u))
+ );
const population = rn((s.rural + s.urban * urbanization) * populationRate);
const total = (line.dataset.total = options.military.reduce((s, u) => s + getForces(u) * u.crew, 0));
@@ -237,7 +248,16 @@ function overviewMilitary() {
position: {my: "center", at: "center", of: "svg"},
buttons: {
Apply: applyMilitaryOptions,
- Add: () => addUnitLine({icon: "🛡️", name: "custom" + militaryOptionsTable.rows.length, rural: 0.2, urban: 0.5, crew: 1, power: 1, type: "melee"}),
+ Add: () =>
+ addUnitLine({
+ icon: "🛡️",
+ name: "custom" + militaryOptionsTable.rows.length,
+ rural: 0.2,
+ urban: 0.5,
+ crew: 1,
+ power: 1,
+ type: "melee"
+ }),
Restore: restoreDefaultUnits,
Cancel: function () {
$(this).dialog("close");
@@ -262,7 +282,7 @@ function overviewMilitary() {
if (el.tagName !== "BUTTON") return;
const type = el.dataset.type;
- if (type === "icon") return selectIcon(el.innerHTML, v => (el.innerHTML = v));
+ if (type === "icon") return selectIcon(el.textContent, v => (el.textContent = v));
if (type === "biomes") {
const {i, name, color} = biomesData;
const biomesArray = Array(i.length).fill(null);
@@ -294,7 +314,9 @@ function overviewMilitary() {
function addUnitLine(unit) {
const {type, icon, name, rural, urban, power, crew, separate} = unit;
const row = document.createElement("tr");
- const typeOptions = types.map(t => `
`).join(" ");
+ const typeOptions = types
+ .map(t => `
`)
+ .join(" ");
const getLimitButton = attr =>
`