From 38d31ec34548df84e033283103f2716d9d7908a5 Mon Sep 17 00:00:00 2001 From: Dirk Heilig Date: Tue, 9 Jan 2024 13:03:14 +0100 Subject: [PATCH] remove debug outout --- themes/hugo-theme-flat/static/js/door-status.js | 1 - 1 file changed, 1 deletion(-) diff --git a/themes/hugo-theme-flat/static/js/door-status.js b/themes/hugo-theme-flat/static/js/door-status.js index 500c9cb..a814d14 100644 --- a/themes/hugo-theme-flat/static/js/door-status.js +++ b/themes/hugo-theme-flat/static/js/door-status.js @@ -4,7 +4,6 @@ document.addEventListener("DOMContentLoaded", function() { fetch("https://spaceapi.c3re.de/").then(function(response) { return( response.json()); }).then(function(data) { - console.log(data) document.getElementById("ds-img").setAttribute("src",data.state.open?data.state.icon.open:data.state.icon.closed); document.getElementById("ds-status").innerHTML=data.state.open?"Geƶffnet":"Geschlossen";