Skip to content

Add object detection, tracking, mobile notifications, and search to any security camera.

enter searches

roryclear3f7b02bc72db
diff --git a/mainview.html b/mainview.html
index 14033bd..6b53433 100644
--- a/mainview.html
+++ b/mainview.html
@@ -2386,6 +2386,14 @@
loadEventImages();
}
+ document.getElementById('imageSearchInput').addEventListener('keypress', function(event) {
+ if (event.key === 'Enter') {
+ event.preventDefault();
+ searchEventImages();
+ }
+ });
+
+
async function loadEventImages() {
try {
let url = `/event_thumbs?folder=${currentStreamDate}`;