diff --git a/js/component/file-tile.js b/js/component/file-tile.js index 8778d3755..37154f9f1 100644 --- a/js/component/file-tile.js +++ b/js/component/file-tile.js @@ -38,7 +38,7 @@ let FileTile = React.createClass({ } }, render: function() { - var obscureNsfw = !lbry.getClientSetting('showNsfw') && this.props.nsfw; + let obscureNsfw = !lbry.getClientSetting('showNsfw') && this.props.nsfw; return (
@@ -70,15 +70,14 @@ let FileTile = React.createClass({

- { - !obscureNsfw || !this.state.isHovered ? null : -
+ {obscureNsfw && this.state.isHovered + ?

This content is Not Safe For Work. To view adult content, please change your .

- } + : null}
); }