diff options
Diffstat (limited to 'python/risk_insight/static/tranches.js')
| -rw-r--r-- | python/risk_insight/static/tranches.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/python/risk_insight/static/tranches.js b/python/risk_insight/static/tranches.js index f9404edf..1cb73a10 100644 --- a/python/risk_insight/static/tranches.js +++ b/python/risk_insight/static/tranches.js @@ -12,7 +12,7 @@ function update_graph(g) { var newdata = data["data"].map(function(e){ f = e.slice(1); f.unshift(new Date(e[0])); - return f}); + return f;}); g.updateOptions({'file': newdata, 'labels': data['labels']}); }); }; @@ -35,7 +35,7 @@ document.addEventListener("DOMContentLoaded", function() { } update_graph(g2); }); - }) + }); update_graph(g1); update_graph(g2); }); |
