projects
/
psensor.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fd14ad8
)
reload page in order to avoid memory leak bug of JQPlot
author
Jean-Philippe Orsini
<jeanfi@gmail.com>
Fri, 23 Sep 2011 09:30:40 +0000
(09:30 +0000)
committer
Jean-Philippe Orsini
<jeanfi@gmail.com>
Fri, 23 Sep 2011 09:30:40 +0000
(09:30 +0000)
www/details.html
patch
|
blob
|
history
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>