Update todays_detections.php

Apparently this makes it work with mobile too
This commit is contained in:
ehpersonal38
2022-05-01 10:59:20 -04:00
parent 746867c677
commit 0dd0ec3810
+1 -1
View File
@@ -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);