From 47912416b600255cc2ecf8a0764a838ce2ed32ed Mon Sep 17 00:00:00 2001 From: snaptec Date: Thu, 4 Apr 2019 18:47:58 +0200 Subject: [PATCH] Hausverbrauch anzeige, Legende abschaltbar --- web/live.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/web/live.js b/web/live.js index 242463647..79bb0f6d8 100644 --- a/web/live.js +++ b/web/live.js @@ -85,9 +85,7 @@ $.ajax({ pvwatt = pvwatt + "W Erzeugung"; } } - if ( pvwatt = 0){ - pvwatt = "0 W"; - } + $("#pvdiv").html(pvwatt); } });