small bug

This commit is contained in:
ehpersonal38
2023-01-15 12:08:43 -05:00
parent 458bef9a63
commit bb01cd0cfb
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -576,6 +576,7 @@ button:hover {
} }
button.legacyview { button.legacyview {
display: none;
color:gray; color:gray;
margin:5px; margin:5px;
float:right; float:right;
+1
View File
@@ -427,6 +427,7 @@ function searchDetections(searchvalue) {
function loadDetections(detections_limit, element=undefined) { function loadDetections(detections_limit, element=undefined) {
const xhttp = new XMLHttpRequest(); const xhttp = new XMLHttpRequest();
xhttp.onload = function() { xhttp.onload = function() {
document.getElementsByClassName("legacyview")[0].style.display="unset";
if(typeof element !== "undefined") if(typeof element !== "undefined")
{ {
element.remove(); element.remove();