Fix relative path issues with json file.
I apparently don't know how to handle relative paths. added js/ in front of empiredata.json to handle that lack of knowledge.
This commit is contained in:
parent
996e25ba82
commit
96956d3ba1
@ -1,6 +1,6 @@
|
||||
// Load Data
|
||||
var xmlhttp = new XMLHttpRequest();
|
||||
var url = "empiredata.json";
|
||||
var url = "js/empiredata.json";
|
||||
var jsonEmpire;
|
||||
|
||||
xmlhttp.onreadystatechange = function() {
|
||||
|
Loading…
Reference in New Issue
Block a user