From ee6df74d759be95bad4b08708f0c651d5fdceb2f Mon Sep 17 00:00:00 2001 From: Jean-Philippe Orsini Date: Fri, 23 Sep 2011 09:30:40 +0000 Subject: [PATCH] reload page in order to avoid memory leak bug of JQPlot --- www/details.html | 6 ++++++ 1 file changed, 6 insertions(+) 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); + }); -- 2.7.4