aboutsummaryrefslogtreecommitdiffstats
path: root/python/risk_insight
diff options
context:
space:
mode:
Diffstat (limited to 'python/risk_insight')
-rw-r--r--python/risk_insight/static/indices.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/python/risk_insight/static/indices.js b/python/risk_insight/static/indices.js
index 6ada9916..736b0ab1 100644
--- a/python/risk_insight/static/indices.js
+++ b/python/risk_insight/static/indices.js
@@ -25,5 +25,6 @@ document.addEventListener("DOMContentLoaded", function() {
["index", "series", "tenor", "what"].forEach(function(id) {
$(id).addEventListener('change', function(){
update_graph(g)});
- update_graph(g);
+ })
+ update_graph(g);
});