projects
/
psensor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
reload page in order to avoid memory leak bug of JQPlot
[psensor.git]
/
www
/
details.html
diff --git
a/www/details.html
b/www/details.html
index
83a750a
..
3dabb65
100644
(file)
--- 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);
+
});
</script>
</head>