From: Jean-Philippe Orsini Date: Fri, 23 Sep 2011 09:30:40 +0000 (+0000) Subject: reload page in order to avoid memory leak bug of JQPlot X-Git-Tag: v0.8.0.5~645 X-Git-Url: https://git.wpitchoune.net/gitweb/?p=psensor.git;a=commitdiff_plain;h=ee6df74d759be95bad4b08708f0c651d5fdceb2f reload page in order to avoid memory leak bug of JQPlot --- diff --git a/www/details.html b/www/details.html index 83a750a..3dabb65 100644 --- a/www/details.html +++ b/www/details.html @@ -34,6 +34,12 @@ 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); + });