Skip to content

Commit cb0006e

Browse files
hangyaGagaro
authored andcommitted
Update js.html (makinacorpus#262)
Using "leaflet/images" in static tag caused the following error using collected static files: Missing staticfiles manifest entry for 'leaflet/images'
1 parent c06ca37 commit cb0006e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

leaflet/templates/leaflet/js.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,6 @@
2121
L.Control.ResetView.TITLE = "{% trans "Reset view" %}";
2222
L.Control.ResetView.ICON = "url({% static "leaflet/images/reset-view.png" %})";
2323
{% if FORCE_IMAGE_PATH %}
24-
L.Icon.Default.imagePath = "{% static "leaflet/images" %}/";
24+
L.Icon.Default.imagePath = "{% static "leaflet/images/" %}";
2525
{% endif %}
2626
</script>

0 commit comments

Comments
 (0)