Skip to content

Commit 8b84d83

Browse files
takkariaGagaro
authored andcommitted
Fix FORCE_IMAGE_PATH option (makinacorpus#243)
It produced URLs that didn't have a slash between path and leafname
1 parent d0293df commit 8b84d83

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)