From bb01cd0cfb2bc92248f8432cbb3ab9105bf6661b Mon Sep 17 00:00:00 2001 From: ehpersonal38 <103586016+ehpersonal38@users.noreply.github.com> Date: Sun, 15 Jan 2023 12:08:43 -0500 Subject: [PATCH] small bug --- homepage/style.css | 1 + scripts/todays_detections.php | 1 + 2 files changed, 2 insertions(+) diff --git a/homepage/style.css b/homepage/style.css index 96c0007..bb2ba6f 100644 --- a/homepage/style.css +++ b/homepage/style.css @@ -576,6 +576,7 @@ button:hover { } button.legacyview { + display: none; color:gray; margin:5px; float:right; diff --git a/scripts/todays_detections.php b/scripts/todays_detections.php index 558bba5..4c40a8e 100644 --- a/scripts/todays_detections.php +++ b/scripts/todays_detections.php @@ -427,6 +427,7 @@ function searchDetections(searchvalue) { function loadDetections(detections_limit, element=undefined) { const xhttp = new XMLHttpRequest(); xhttp.onload = function() { + document.getElementsByClassName("legacyview")[0].style.display="unset"; if(typeof element !== "undefined") { element.remove();