From 5d9c15bd6fd7ed28bfdfe93c3e138b7014376418 Mon Sep 17 00:00:00 2001 From: rogs Date: Fri, 19 Nov 2021 05:07:39 -0300 Subject: [PATCH] getJSON fix for merge --- js/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/main.js b/js/main.js index 57316d9..5bc9841 100644 --- a/js/main.js +++ b/js/main.js @@ -29,7 +29,7 @@ $("#playBegin").click(function () { $(this).fadeOut(); }); var data = {}, cQuestion = {}, indexeslist = [], indexesProgress = 0, total = 100; -$.getJSON("https://matmasit.github.io/SocialCreditScoreGame/data.json", function (d) { +$.getJSON("data.json", function (d) { data = d; total = d["initialScore"]; $("#counter").html("Social credit score: " + total);