getJSON fix for merge

This commit is contained in:
rogs 2021-11-19 05:07:39 -03:00
parent 4e51b2d6e8
commit 5d9c15bd6f

View File

@ -29,7 +29,7 @@ $("#playBegin").click(function () {
$(this).fadeOut(); $(this).fadeOut();
}); });
var data = {}, cQuestion = {}, indexeslist = [], indexesProgress = 0, total = 100; 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; data = d;
total = d["initialScore"]; total = d["initialScore"];
$("#counter").html("Social credit score: " + total); $("#counter").html("Social credit score: " + total);