Skip to content

Commit

Permalink
Merge pull request #69 from manuelmeister/bugfix/#68
Browse files Browse the repository at this point in the history
BUGFIX: Output srcset in Source.fusion
  • Loading branch information
mficzel committed Sep 27, 2023
2 parents b9c7ed7 + 1bb8c83 commit 83b512e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Resources/Private/Fusion/Prototypes/Source.fusion
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,8 @@ prototype(Sitegeist.Kaleidoscope:Source) < prototype(Neos.Fusion:Component) {
renderer = afx`
<source @if.has={props.imageSource}
srcset={props.imageSource.srcset(props.srcset)}
[email protected]={props.srcset && props.isScalableSource}
sizes={props.sizes}
srcset[email protected]={props.sizes && props.isScalableSource}
sizes[email protected]={props.sizes && props.isScalableSource}
[email protected]={Type.isArray(value) ? Array.join(value, ', ') : value}
type={props.type}
media={props.media}
Expand Down

0 comments on commit 83b512e

Please sign in to comment.