Skip to content

Commit

Permalink
update build files
Browse files Browse the repository at this point in the history
  • Loading branch information
neptunian committed Nov 29, 2017
1 parent d7336c4 commit ccf9ee5
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions dist/react-images.es.js
Original file line number Diff line number Diff line change
Expand Up @@ -1185,13 +1185,13 @@ var Lightbox = function (_Component) {
{ className: css(this.classes.figure) },
React.createElement('img', {
className: css(this.classes.image),
onClick: !!onClickImage && onClickImage,
onClick: onClickImage,
sizes: sizes,
alt: image.alt,
src: image.src,
srcSet: srcset,
style: {
cursor: this.props.onClickImage ? 'pointer' : 'auto',
cursor: onClickImage ? 'pointer' : 'auto',
maxHeight: 'calc(100vh - ' + heightOffset + ')'
}
}),
Expand Down
4 changes: 2 additions & 2 deletions dist/react-images.js
Original file line number Diff line number Diff line change
Expand Up @@ -1187,13 +1187,13 @@ var Lightbox = function (_Component) {
{ className: aphrodite.css(this.classes.figure) },
React__default.createElement('img', {
className: aphrodite.css(this.classes.image),
onClick: !!onClickImage && onClickImage,
onClick: onClickImage,
sizes: sizes,
alt: image.alt,
src: image.src,
srcSet: srcset,
style: {
cursor: this.props.onClickImage ? 'pointer' : 'auto',
cursor: onClickImage ? 'pointer' : 'auto',
maxHeight: 'calc(100vh - ' + heightOffset + ')'
}
}),
Expand Down
2 changes: 1 addition & 1 deletion dist/react-images.min.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions lib/Lightbox.js
Original file line number Diff line number Diff line change
Expand Up @@ -315,13 +315,13 @@ var Lightbox = function (_Component) {
{ className: (0, _aphrodite.css)(this.classes.figure) },
_react2.default.createElement('img', {
className: (0, _aphrodite.css)(this.classes.image),
onClick: !!onClickImage && onClickImage,
onClick: onClickImage,
sizes: sizes,
alt: image.alt,
src: image.src,
srcSet: srcset,
style: {
cursor: this.props.onClickImage ? 'pointer' : 'auto',
cursor: onClickImage ? 'pointer' : 'auto',
maxHeight: 'calc(100vh - ' + heightOffset + ')'
}
}),
Expand Down

0 comments on commit ccf9ee5

Please sign in to comment.