X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/32da856c00985bc2ebc7482da2ea4f76cf788832..c55d346d5f7501fd6f5f636e85c8a60ec67d88ee:/app/assets/javascripts/edit/id.js.erb diff --git a/app/assets/javascripts/edit/id.js.erb b/app/assets/javascripts/edit/id.js.erb index 1891c5adc..02299d215 100644 --- a/app/assets/javascripts/edit/id.js.erb +++ b/app/assets/javascripts/edit/id.js.erb @@ -3,7 +3,7 @@ $(document).ready(function () { var id = $("#id-embed"); - if (id.data("key")) { + if (id.data("configured") === true) { var hashParams = OSM.params(location.hash.substring(1)); var mapParams = OSM.mapParams(); var params = {};