From 8046a5cd15292976918e46c15c132dc7af3ad467 Mon Sep 17 00:00:00 2001 From: shoopea Date: Sat, 16 Nov 2024 12:26:19 +0100 Subject: [PATCH] debug --- public/js/maps.js | 4 ++++ 1 file changed, 4 insertions(+) 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]); } } });