small bug
This commit is contained in:
@@ -576,6 +576,7 @@ button:hover {
|
|||||||
}
|
}
|
||||||
|
|
||||||
button.legacyview {
|
button.legacyview {
|
||||||
|
display: none;
|
||||||
color:gray;
|
color:gray;
|
||||||
margin:5px;
|
margin:5px;
|
||||||
float:right;
|
float:right;
|
||||||
|
|||||||
@@ -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();
|
||||||
|
|||||||
Reference in New Issue
Block a user