diff --git a/parts/static/script.js b/parts/static/script.js index 1f035dd..4b45c17 100755 --- a/parts/static/script.js +++ b/parts/static/script.js @@ -23,7 +23,8 @@ function init_edit(partID) { $('input[name=notes-input]').show(); $('table#details tr#notes td p').hide(); - $('img#map').attr('src', 'parts/map/' + data.container_id + '/a'); + // make map have names of containers for this one click + $('img#map').attr('src', $('img#map').attr('src') + '/a') // var newButton = '
'; // $('.round-button-left').replaceWith(newButton);