]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/site/id.html.erb
Update to iD v1.7.0
[rails.git] / app / views / site / id.html.erb
index fa47bb00ce69a59c6fa24320cbaf941a6485e8d3..3bb20f29d82a513a7f760c4413a50a6515b0471c 100644 (file)
@@ -2,9 +2,9 @@
 <html>
 <head>
   <meta charset='utf-8'>
-  <%= stylesheet_link_tag 'iD' %>
+  <%= stylesheet_link_tag 'id' %>
   <!--[if !IE || gte IE 9]><!-->
-  <%= javascript_include_tag 'iD' %>
+  <%= javascript_include_tag 'id' %>
   <!-- <![endif]-->
 </head>
 <body>
@@ -37,7 +37,7 @@
         center = id.map().center(),
         llz = { lon: center[0], lat: center[1], zoom: zoom };
 
-      parent.updatelinks(llz, zoom);
+      parent.updateLinks(llz, zoom);
 
       // Manually resolve URL to avoid iframe JS context weirdness.
       // http://bl.ocks.org/jfirebaugh/5439412