Signed-off-by: K1 <git@karoh.net>
This commit is contained in:
parent
3acd0398e9
commit
ae0497c4c5
2 changed files with 6 additions and 2 deletions
4
dve.js
4
dve.js
|
|
@ -6,7 +6,7 @@ const json_files = [
|
|||
|
||||
const center = [50.08804, 14.42076];
|
||||
const zoom = 14;
|
||||
const mapCounts = [2, 4, 6, 9];
|
||||
const mapCounts = [1, 2, 4, 6, 9];
|
||||
|
||||
let syncing = false;
|
||||
let urlUpdateTimer = null;
|
||||
|
|
@ -138,7 +138,7 @@ function fillMapCountDropdown(select) {
|
|||
mapCounts.forEach(count => {
|
||||
const opt = document.createElement("option");
|
||||
opt.value = count;
|
||||
opt.textContent = count + (count === 2 || count === 4 ? " mapy" : " map");
|
||||
opt.textContent = count + (count === 1 ? " mapa" : count === 2 || count === 4 ? " mapy" : " map");
|
||||
select.appendChild(opt);
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue