Skip to content

Commit bcfaccf

Browse files
committed
FIX: not showing popup if description blank
1 parent a6d458f commit bcfaccf

File tree

1 file changed

+1
-1
lines changed
  • templates/EdgarIndustries/ElementalMap/Block

1 file changed

+1
-1
lines changed

templates/EdgarIndustries/ElementalMap/Block/MapBlock.ss

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<% loop $Markers %>
1515
var map{$Up.ID}marker{$ID} = L.marker([{$Latitude}, {$Longitude}]).addTo(map{$Up.ID});
1616

17-
<% if $Description %>
17+
<% if $PopupContent %>
1818
map{$Up.ID}marker{$ID}.bindPopup('{$PopupContent}');
1919
<% end_if %>
2020
<% end_loop %>

0 commit comments

Comments
 (0)