diff --git a/app/views/search/_google_maps.rhtml b/app/views/search/_google_maps.rhtml
index 0f8b825..ea27e49 100644
--- a/app/views/search/_google_maps.rhtml
+++ b/app/views/search/_google_maps.rhtml
@@ -55,22 +55,16 @@ if (GBrowserIsCompatible()) {
var icon = new GIcon(baseIcon, "<%= icon %>", null, "<%= icon_shadow %>");
<%
- missed = false
@results.each do |name,results|
results.each do |item|
if item.lat && item.lng
%>
putMarker(<%= item.lat.to_json %>, <%= item.lng.to_json %>, <%= item.name.to_json %>, <%= display_item_map_info(item).to_json %>);
<%
- else
- missed = true
- end
+ end
end
end
%>
- <% if missed %>
- <%= "map.openInfoWindowHtml(centerPoint, %s);" % _("One or more items don't have geographical information, and won't be shown in the map. Choose \"Display in list\" to see them.").to_json %>
- <% end %>
}
map.setZoom(map.getBoundsZoomLevel(bounds));
--
libgit2 0.21.2