diff --git a/index.html b/index.html index 341fc1ad1..6941ce008 100644 --- a/index.html +++ b/index.html @@ -165,9 +165,9 @@ .current('en') .current(iD.detect().locale); - d3.json('keys.json', function(err, keys) { - var id = iD(); + var id = iD(); + d3.json('keys.json', function(err, keys) { id.connection() .keys(keys); diff --git a/index_packaged.html b/index_packaged.html index a961a5202..7da953292 100644 --- a/index_packaged.html +++ b/index_packaged.html @@ -17,9 +17,10 @@