We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 723a0e5 commit dbc2f7dCopy full SHA for dbc2f7d
src/Gallery.js
@@ -264,7 +264,8 @@ class Gallery extends Component {
264
className="ReactGridGallery"
265
ref={(c) => this._gallery = c}>
266
<iframe style={resizeIframeStyles}
267
- ref={(c) => c && c.contentWindow && c.contentWindow.addEventListener('resize', this.onResize) } />
+ ref={(c) => c && c.contentWindow
268
+ && c.contentWindow.addEventListener('resize', this.onResize) } />
269
{images}
270
<Lightbox
271
images={this.props.images}
0 commit comments