Update todays_detections.php
Apparently this makes it work with mobile too
This commit is contained in:
@@ -169,7 +169,7 @@ if(isset($_GET['ajax_detections']) && $_GET['ajax_detections'] == "true" ) {
|
|||||||
var timer = '';
|
var timer = '';
|
||||||
searchterm = "";
|
searchterm = "";
|
||||||
|
|
||||||
document.getElementById("searchterm").onkeypress = (function(e) {
|
document.getElementById("searchterm").oninput = (function(e) {
|
||||||
if (e.key === "Enter") {
|
if (e.key === "Enter") {
|
||||||
clearTimeout(timer);
|
clearTimeout(timer);
|
||||||
searchDetections(document.getElementById("searchterm").value);
|
searchDetections(document.getElementById("searchterm").value);
|
||||||
|
|||||||
Reference in New Issue
Block a user