fix doubled colons
All checks were successful
Build / build (pull_request) Successful in 1m1s

This commit is contained in:
Sainan 2025-08-12 19:48:46 +02:00
parent 344e37db01
commit 6235b87561

View File

@ -208,7 +208,7 @@ function updateLocElements() {
.split("|") .split("|")
.map(key => loc(key)) .map(key => loc(key))
.join(", "); .join(", ");
elm.title = `${loc("worldState_incompatibleWith")}: ${incWith}`; elm.title = `${loc("worldState_incompatibleWith")} ${incWith}`;
}); });
document.querySelectorAll("[data-loc-year]").forEach(elm => { document.querySelectorAll("[data-loc-year]").forEach(elm => {
elm.innerHTML = elm.innerHTML.replace("|YEAR|", elm.getAttribute("data-loc-year")); elm.innerHTML = elm.innerHTML.replace("|YEAR|", elm.getAttribute("data-loc-year"));