diff --git a/src/static/js/enthusiast.js b/src/static/js/enthusiast.js index 84e7094..2dad2f8 100644 --- a/src/static/js/enthusiast.js +++ b/src/static/js/enthusiast.js @@ -138,18 +138,22 @@ function url_params(base) } function update_ts() +{ + score_timeseries.flow({'done': load_ts()}) + +} + +function load_ts() { url = url_params('/api/score_timeseries?') - score_timeseries.unload() var updatedData = $.get(url); updatedData.done(function(results) { score_timeseries.load(updatedData.responseJSON) - }); - + }) + } - function update_words() { url = url_params('/api/keywords?')