Skip to content
This repository has been archived by the owner on Jan 19, 2023. It is now read-only.

Commit

Permalink
Fix IE9 bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
fritz-c committed Jul 19, 2016
1 parent 10568cb commit 051179e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/react-image-lightbox.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ class ReactImageLightbox extends Component {

// Lightbox is closing
// When Lightbox is mounted, if animation is enabled it will open with the reverse of the closing animation
isClosing: !this.props.animationDisabled,
isClosing: !props.animationDisabled,

// Component parts should animate (e.g., when images are moving, or image is being zoomed)
shouldAnimate: false,
Expand Down Expand Up @@ -854,6 +854,7 @@ class ReactImageLightbox extends Component {
content: {
backgroundColor: 'transparent',
border: 'none',
borderRadius: 0,
},
};

Expand Down

0 comments on commit 051179e

Please sign in to comment.