Skip to content

Commit

Permalink
Update js.html
Browse files Browse the repository at this point in the history
Using "leaflet/images" in static tag caused the following error using collected static files:
Missing staticfiles manifest entry for 'leaflet/images'
  • Loading branch information
hangya committed Oct 17, 2019
1 parent 64bc087 commit 9916184
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion leaflet/templates/leaflet/js.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@
L.Control.ResetView.TITLE = "{% trans "Reset view" %}";
L.Control.ResetView.ICON = "url({% static "leaflet/images/reset-view.png" %})";
{% if FORCE_IMAGE_PATH %}
L.Icon.Default.imagePath = "{% static "leaflet/images" %}/";
L.Icon.Default.imagePath = "{% static "leaflet/images/" %}";
{% endif %}
</script>

0 comments on commit 9916184

Please sign in to comment.