update dynamic list
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user