From f91acf84fc5dd367b23fae58df550cfe4be9bac6 Mon Sep 17 00:00:00 2001 From: giuliarenda Date: Tue, 20 Dec 2022 14:24:58 +0100 Subject: [PATCH] test for zip update --- static/js/main.js | 1 + 1 file changed, 1 insertion(+) diff --git a/static/js/main.js b/static/js/main.js index 5fb927c..4206fa1 100644 --- a/static/js/main.js +++ b/static/js/main.js @@ -7,6 +7,7 @@ addEventListener("DOMContentLoaded", function () { if (Object.getOwnPropertyNames(datastory_data).length > 0) { colorSwitch(datastory_data.color_code[0], datastory_data.color_code[1]); } }); + window.onload = function () { if (Object.getOwnPropertyNames(datastory_data).length > 0) { queryCounter(); } chartViz();