]> ToastFreeware Gitweb - chrisu/seepark.git/blobdiff - web/static/seepark_web.js
loaddays: wrap .flush in a setTimeout
[chrisu/seepark.git] / web / static / seepark_web.js
index d763fdb624e95db1f33b4a39c66791c7f46e916a..7e727a1f0927b31351122c6f2a8c00f9ac289e77 100644 (file)
@@ -188,7 +188,7 @@ function loaddays(chart, element, days) {
                        unload: true
                });
        };
-       chart.flush();
+       setTimeout(function () { chart.flush(); }, 5000);
 }
 
 function beginend(days) {