]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/edit/id.js.erb
Merge remote-tracking branch 'upstream/pull/3561'
[rails.git] / app / assets / javascripts / edit / id.js.erb
index 1891c5adc4dd23b8ad27d476098cda347149bf20..02299d2151b4c53a7d28b8e089344c50e629cd99 100644 (file)
@@ -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 = {};