fix kiosk mode
This commit is contained in:
@@ -570,7 +570,9 @@ 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() {
|
||||||
|
<?php if($kiosk == false) { ?>
|
||||||
document.getElementsByClassName("legacyview")[0].style.display="unset";
|
document.getElementsByClassName("legacyview")[0].style.display="unset";
|
||||||
|
<?php } ?>
|
||||||
if(typeof element !== "undefined")
|
if(typeof element !== "undefined")
|
||||||
{
|
{
|
||||||
element.remove();
|
element.remove();
|
||||||
|
|||||||
Reference in New Issue
Block a user