maybe working with add part button

This commit is contained in:
2024-02-19 23:23:41 +01:00
parent b9142f71e0
commit 68e10ec2ea
+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>');