From 0dd0ec38101b9617d3145554bc17b9ee6b14e24a Mon Sep 17 00:00:00 2001 From: ehpersonal38 <103586016+ehpersonal38@users.noreply.github.com> Date: Sun, 1 May 2022 10:59:20 -0400 Subject: [PATCH] Update todays_detections.php Apparently this makes it work with mobile too --- scripts/todays_detections.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/todays_detections.php b/scripts/todays_detections.php index 475e000..1c0aba0 100644 --- a/scripts/todays_detections.php +++ b/scripts/todays_detections.php @@ -169,7 +169,7 @@ if(isset($_GET['ajax_detections']) && $_GET['ajax_detections'] == "true" ) { var timer = ''; searchterm = ""; -document.getElementById("searchterm").onkeypress = (function(e) { +document.getElementById("searchterm").oninput = (function(e) { if (e.key === "Enter") { clearTimeout(timer); searchDetections(document.getElementById("searchterm").value);