We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 57eb3dd commit 74d870dCopy full SHA for 74d870d
src/Image.js
@@ -89,13 +89,14 @@ class Image extends Component {
89
</div>;
90
});
91
92
- var customOverlay = typeof this.props.item.customOverlay === 'undefined' ? <noscript/> :
93
- <div style={{
94
- pointerEvents: "none",
95
- opacity: this.state.hover ? 1 : 0,
96
- position: "absolute",
97
- height: "100%",
98
- width: "100%"}}>
+ var customOverlay = (typeof this.props.item.customOverlay === 'undefined')
+ ? <noscript/> :
+ <div style={{
+ pointerEvents: "none",
+ opacity: this.state.hover ? 1 : 0,
+ position: "absolute",
+ height: "100%",
99
+ width: "100%"}}>
100
{this.props.item.customOverlay}
101
102
0 commit comments