Skip to content

A live bird collage card for your Home Assistant dashboard.

small bug

ehpersonal38bb01cd0cfb2b
diff --git a/homepage/style.css b/homepage/style.css
index 96c00072..bb2ba6ff 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 558bba50..4c40a8e0 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();