diff --git a/public/js/sighting.js b/public/js/sighting.js index 421efe37a76f6afc81063a485aaafadf73cf1112..4e61d66cba69a9cb4f2e004ff21791801795e78c 100644 --- a/public/js/sighting.js +++ b/public/js/sighting.js @@ -163,12 +163,12 @@ function editSighting(sightingId) { } function populateSightingForm(sightingCard, sightingId) { - const catId = sightingCard.querySelector(".sighting-cat-id").textContent.trim(); + // const catId = sightingCard.querySelector(".sighting-cat-id").textContent.trim(); const sightingLocation = sightingCard.querySelector(".sighting-location").textContent.trim(); const sightingDate = sightingCard.querySelector(".sighting-date").textContent.trim(); const sightingTime = sightingCard.querySelector(".sighting-time").textContent.trim(); const sightingDescription = sightingCard.querySelector(".sighting-description").textContent.trim(); - console.log(catId, sightingId) + // console.log(catId, sightingId) // document.getElementById("edit-cat-name-select").value=catId; document.getElementById("edit-sighting-location").value = sightingLocation; document.getElementById("edit-date").value = sightingDate;