Skip to content

Commit

Permalink
Fix plain marker behaviour
Browse files Browse the repository at this point in the history
  • Loading branch information
ilyankou committed Oct 7, 2022
1 parent f87f68b commit e4bdcbb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/storymap.js
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ $(window).on('load', function() {
L.marker([lat, lon], {
icon: L.ExtraMarkers.icon({
icon: 'fa-number',
number: (c['Marker'] === 'Numbered' || c['Marker'] === '')
number: c['Marker'] === 'Numbered'
? chapterCount
: (c['Marker'] === 'Plain'
? ''
Expand Down

0 comments on commit e4bdcbb

Please sign in to comment.