X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/b954416a70fb167b9cae0a3937de16bd9a93d239..9efa2c7b92952b7d72bd5dc35dd22deb79d50b35:/app/assets/javascripts/id.js diff --git a/app/assets/javascripts/id.js b/app/assets/javascripts/id.js index b54532af2..dd7cd3325 100644 --- a/app/assets/javascripts/id.js +++ b/app/assets/javascripts/id.js @@ -14,7 +14,7 @@ document.addEventListener("DOMContentLoaded", function() { var id = iD.Context() .embed(true) .assetPath("iD/") - .assetMap(container.dataset.assetMap) + .assetMap(JSON.parse(container.dataset.assetMap)) .locale(container.dataset.locale, container.dataset.localePath) .preauth({ urlroot: location.protocol + "//" + location.host,