X-Git-Url: https://git.wpitchoune.net/gitweb/?p=psensor.git;a=blobdiff_plain;f=www%2Fdetails.html;h=68656a003de1fe2ba11057621629a3abd96989a6;hp=83a750ad562fd4110a9218e509f188b609aeadc0;hb=c1e20f2631a1249720e9c75d753eacfcb0f6c7b9;hpb=87af9d7482a493cd57b17e9eede9ee0b59f17d71 diff --git a/www/details.html b/www/details.html index 83a750a..68656a0 100644 --- a/www/details.html +++ b/www/details.html @@ -3,15 +3,9 @@ Sensor - - - - @@ -34,25 +28,33 @@ href="http://fonts.googleapis.com/css?family=Ubuntu:regular,bold&subset=Latin"> update_chart("chart", type_to_str(data["type"]), data); }); }, 5000); + + // reload page in order to workaround memory-leak in JQPlot + setInterval(function() { + location.reload(); + }, 60000); + }); + +

-
- +
+