X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/fb4d003ebee8842ace3807bb1a60b9b36d94723e..83821816359187fa2b877a29b7ab7d9f974c17b5:/app/views/browse/_map.html.erb diff --git a/app/views/browse/_map.html.erb b/app/views/browse/_map.html.erb index d8980f2a2..dd4ec74df 100644 --- a/app/views/browse/_map.html.erb +++ b/app/views/browse/_map.html.erb @@ -38,7 +38,7 @@ $("area_larger_map").href = '/?minlon='+minlon+'&minlat='+minlat+'&maxlon='+maxlon+'&maxlat='+maxlat+'&box=yes'; $("area_larger_map").innerHTML = "<%= t 'browse.map.larger.area' %>"; - <% elsif map.instance_of? MapBug %> + <% elsif map.instance_of? Note %> var centre = new OpenLayers.LonLat(<%= map.lon %>, <%= map.lat %>); setMapCenter(centre, 16);