Missing marker on the event display

This commit is contained in:
echarp 2016-05-23 01:11:22 +02:00
parent 8d6e5f1234
commit e4429e5f6d

View File

@ -59,12 +59,10 @@ $(document).ready ->
else
url += location.search
if location.pathname.startsWith('/moderations/')
# Marker with the proper icon
marker = L.AwesomeMarkers.icon
prefix: 'fa',
icon: 'calendar',
markerColor: 'cadetblue'
icon: 'calendar'
L.marker([coord[0], coord[1]], icon: marker).addTo map
$.getJSON url, (json) ->