diff --git a/parts/static/script.js b/parts/static/script.js index 430e72e..129994a 100755 --- a/parts/static/script.js +++ b/parts/static/script.js @@ -46,7 +46,11 @@ function new_entry() { init_edit(-1); overlay_in(); container_onchange(); - + + // make map have names of containers for this one click + if (!$('img#map').attr('src').endsWith('/a')){ + $('img#map').attr('src', $('img#map').attr('src') + '/a') + } } function end_edit() {