]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/site/index.html.erb
Remove dead code
[rails.git] / app / views / site / index.html.erb
index 38242da0094e34048937a9c0a48edb36e66b186d..669c3c089f6d05cf26908af29d8195b6d8f75d63 100644 (file)
@@ -18,7 +18,7 @@
 
 <div id="map">
   <div id="permalink">
-    <a href="/" id="permalinkanchor" class="geolink llz layers object"><%= t 'site.index.permalink' %></a><br/>
+    <a href="/" id="permalinkanchor" class="geolink llz layers object"><%= t 'site.index.permalink' %></a>
     <a href="/" id="shortlinkanchor"><%= t 'site.index.shortlink' %></a>
   </div>
 </div>
@@ -194,14 +194,6 @@ end
     }
   }
 
-  function getPosition() {
-    return getMapCenter();
-  }
-
-  function getZoom() {
-    return getMapZoom();
-  }
-
   function setPosition(lat, lon, zoom, min_lon, min_lat, max_lon, max_lat) {
     var centre = new OpenLayers.LonLat(lon, lat);