diff --git a/web-root/scripts/sat.js b/web-root/scripts/sat.js index 045beb8..708582d 100644 --- a/web-root/scripts/sat.js +++ b/web-root/scripts/sat.js @@ -106,7 +106,7 @@ dotShader.uCamMatrix = gl.getUniformLocation(dotShader, 'uCamMatrix'); dotShader.uPMatrix = gl.getUniformLocation(dotShader, 'uPMatrix'); - $.get('/TLE.json?fakeparameter=to_avoid_browser_cache', function(resp) { + $.getJSON('/TLE.json?fakeparameter=to_avoid_browser_cache', function(resp) { var startTime = new Date().getTime(); @@ -314,4 +314,4 @@ satSet.draw = function(pMatrix, camMatrix) { window.satSet = satSet; -})(); \ No newline at end of file +})();