map-with-names #14

Merged
marek merged 6 commits from map-with-names into master 2024-02-19 23:33:44 +01:00
Showing only changes of commit 68e10ec2ea - Show all commits
+4 -2
View File
@@ -24,8 +24,10 @@ function init_edit(partID) {
$('table#details tr#notes td p').hide();
// make map have names of containers for this one click
$('img#map').attr('src', $('img#map').attr('src') + '/a')
if (!$('img#map').attr('src').endsWith('/a')){
$('img#map').attr('src', $('img#map').attr('src') + '/a')
}
// var newButton = '<div class="round-button-left"><a href="#" onclick="save(' + partID + ')"><i class="fa fa-check" aria-hidden="true"></i></a></div>';
// $('.round-button-left').replaceWith(newButton);
$('#edit-button').html('<i class="fa fa-check" aria-hidden="true"></i>');