Skip to content

Commit

Permalink
Update site.js
Browse files Browse the repository at this point in the history
  • Loading branch information
mrlt8 committed Aug 22, 2024
1 parent 393c5ca commit 40425f6
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion app/static/site.js
Original file line number Diff line number Diff line change
Expand Up @@ -754,7 +754,6 @@ document.addEventListener("DOMContentLoaded", () => {
}
}
function updateBatteryLevel(card) {
console.log("updateBatteryLevel")
if (card.dataset.battery?.toLowerCase() !== "true") { return; }
const iconElement = card.querySelector(".icon.battery i");
fetch(`api/${card.id}/battery`)
Expand Down

0 comments on commit 40425f6

Please sign in to comment.