Skip to content

Commit

Permalink
publiclab#123 slight addition
Browse files Browse the repository at this point in the history
  • Loading branch information
jywarren committed Aug 23, 2013
1 parent c949f8b commit 3d58889
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/notes/tools_places.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
L.tileLayer("http://a.tiles.mapbox.com/v3/jywarren.map-lmrwb2em/{z}/{x}/{y}.png").addTo(map)

<% @notes.each do |place| %>
<% if place.tagged_lat %>L.marker([<%= place.tagged_lat %>, <%= place.tagged_lon %>]).addTo(map).bindPopup("<a href='<%= place.path %>'><%= place.title %></a>");<% end %>
<% if place.tagged_lat && place.tagged_lon %>L.marker([<%= place.tagged_lat %>, <%= place.tagged_lon %>]).addTo(map).bindPopup("<a href='<%= place.path %>'><%= place.title %></a>");<% end %>
<% end %>
</script>

Expand Down

0 comments on commit 3d58889

Please sign in to comment.