diff --git a/public/js/maps.js b/public/js/maps.js index 582764b..3b2fd33 100644 --- a/public/js/maps.js +++ b/public/js/maps.js @@ -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 = '' $('#map').append(opt); + console.log(`adding ` + map_list[i]); } } });