This commit is contained in:
shoopea 2024-11-16 12:26:19 +01:00
parent 9eb0636331
commit 8046a5cd15

View File

@ -2,6 +2,9 @@ $(document).ready(function () {
var map_list = [];
function update_maps() {
console.log(`reseting maps`);
map_list = [];
map_list.push("cs_italy");
map_list.push("cs_office");
@ -23,6 +26,7 @@ $(document).ready(function () {
for (var i = 0; i < map_list.length; i++) {
const opt = '<option value="' + map_list[i] + '">' + map_list[i] + '</option>'
$('#map').append(opt);
console.log(`adding ` + map_list[i]);
}
}
});