Skip to content

Commit

Permalink
Prepend 'id-' to the identifier that is used for the Bootstrap carous…
Browse files Browse the repository at this point in the history
…el demo component. When the node identifier starts with a number the carousel won't slide, because IDs are not allowed to start with a number.
  • Loading branch information
marco-wildermuth committed Jul 9, 2020
1 parent bfb82b1 commit f694c0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Resources/Private/Fusion/Content/Carousel.fusion
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# "Carousel" element
#
prototype(Neos.Demo:Content.Carousel) < prototype(Neos.Neos:ContentComponent) {
identifier = ${q(node).property('_identifier')}
identifier = ${'id-' + q(node).property('_identifier')}

carouselItems = Neos.Neos:ContentCollection {
nodePath = 'carouselitems'
Expand Down

0 comments on commit f694c0d

Please sign in to comment.