Add object detection, tracking, mobile notifications, and search to any security camera.
remove right click stuff
roryclear82f174dece79
diff --git a/cameraview.html b/cameraview.htmlindex 63f0c41..2eb9fac 100644--- a/cameraview.html+++ b/cameraview.html@@ -761,12 +761,6 @@ function closeZoneModal() {});}- // Add delete on right-click (always available)- point.addEventListener('contextmenu', (e) => {- e.preventDefault();- removePoint(point);- });-overlay.appendChild(point);return point;}@@ -818,7 +812,7 @@ function closeZoneModal() {// Reset instruction textconst instruction = document.querySelector('#zoneModal .modal-content div:nth-child(3)');if (instruction) {- instruction.innerHTML = 'Click on the image to add points. Right-click to remove points. Click on the first point (blue) to complete the polygon.';+ instruction.innerHTML = 'Click on the image to make a detection zone.';}}@@ -968,7 +962,7 @@ function closeZoneModal() {// Reset instruction textconst instruction = document.querySelector('#zoneModal .modal-content div:nth-child(3)');if (instruction) {- instruction.innerHTML = 'Click on the image to add points. Right-click to remove points. Click on the first point (blue) to complete the polygon.';+ instruction.innerHTML = 'Click on the image to add points.';}}