Skip to content

Commit

Permalink
Minor logic simplification.
Browse files Browse the repository at this point in the history
  • Loading branch information
pento committed Feb 17, 2020
1 parent f6143f5 commit 1b31139
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extensions/blocks/map/save.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class MapSave extends Component {
data-zoom={ zoom }
data-map-center={ JSON.stringify( mapCenter ) }
data-marker-color={ markerColor }
data-scroll-to-zoom={ scrollToZoom ? scrollToZoom : null }
data-scroll-to-zoom={ scrollToZoom || null }
>
{ points.length > 0 && <ul>{ pointsList }</ul> }
</div>
Expand Down

0 comments on commit 1b31139

Please sign in to comment.