X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/d3b9987bb863e25fc3175f6848d8a430b17f54c2..67925e6d98c3834d7dbb431295e7dd2d093b8250:/app/assets/javascripts/id.js?ds=sidebyside 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,