From de9e1628fccb3de51e5cc3ecf159c077ba472136 Mon Sep 17 00:00:00 2001
From: haidar <89732397+haidarhamda@users.noreply.github.com>
Date: Fri, 6 Oct 2023 17:26:52 +0700
Subject: [PATCH] Update sighting.js

---
 public/js/sighting.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/public/js/sighting.js b/public/js/sighting.js
index 421efe3..4e61d66 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;
-- 
GitLab