update dynamic list

This commit is contained in:
shoopea
2024-11-16 12:17:41 +01:00
parent 106be0e2b2
commit 9eb0636331
2 changed files with 7 additions and 3 deletions

View File

@@ -17,5 +17,12 @@ $(document).ready(function () {
map_list.push("de_overpass");
map_list.push("de_thera");
map_list.push("de_vertigo");
$('#map').empty();
for (var i = 0; i < map_list.length; i++) {
const opt = '<option value="' + map_list[i] + '">' + map_list[i] + '</option>'
$('#map').append(opt);
}
}
});