]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/site/_id.html.erb
Fine tune button styling for note popups
[rails.git] / app / views / site / _id.html.erb
index fe9d569aa74a946435b2654d8f3630abbc19c3a5..e2f783731b7ff50f6107e5af77ee7661963724b8 100644 (file)
@@ -19,7 +19,7 @@
       hash = '#map=' + (coord.zoom || 17) + '/' + coord.lon + '/' + coord.lat
     }
 
-    $('#id-embed').attr('src', '<%= id_url %>' + hash);
+    $('#id-embed').attr('src', '<%= id_url :locale => params[:locale] %>' + hash);
   </script>
 <% else %>
   <script type="text/javascript">alert("<%= t 'site.edit.id_not_configured' %>")</script>