Missing marker on the event display
This commit is contained in:
parent
8d6e5f1234
commit
e4429e5f6d
@ -59,12 +59,10 @@ $(document).ready ->
|
|||||||
else
|
else
|
||||||
url += location.search
|
url += location.search
|
||||||
|
|
||||||
if location.pathname.startsWith('/moderations/')
|
|
||||||
# Marker with the proper icon
|
# Marker with the proper icon
|
||||||
marker = L.AwesomeMarkers.icon
|
marker = L.AwesomeMarkers.icon
|
||||||
prefix: 'fa',
|
prefix: 'fa',
|
||||||
icon: 'calendar',
|
icon: 'calendar'
|
||||||
markerColor: 'cadetblue'
|
|
||||||
L.marker([coord[0], coord[1]], icon: marker).addTo map
|
L.marker([coord[0], coord[1]], icon: marker).addTo map
|
||||||
|
|
||||||
$.getJSON url, (json) ->
|
$.getJSON url, (json) ->
|
||||||
|
Loading…
Reference in New Issue
Block a user