From 19690d3e3345b9231778280fb2098d350f46d632 Mon Sep 17 00:00:00 2001 From: kibigo! Date: Wed, 28 Jun 2017 22:57:30 -0700 Subject: [PATCH] Fixes #32 bug with revealing sensitive media --- app/javascript/mastodon/components/status_content.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/app/javascript/mastodon/components/status_content.js b/app/javascript/mastodon/components/status_content.js index bcbff55154..7bf96218b5 100644 --- a/app/javascript/mastodon/components/status_content.js +++ b/app/javascript/mastodon/components/status_content.js @@ -172,10 +172,12 @@ export default class StatusContent extends React.PureComponent { ref={this.setRef} className='status__content status__content--with-action' style={directionStyle} - onMouseDown={this.handleMouseDown} - onMouseUp={this.handleMouseUp} > -
+
{children}
); @@ -185,8 +187,6 @@ export default class StatusContent extends React.PureComponent { ref={this.setRef} className='status__content' style={directionStyle} - onMouseDown={this.handleMouseDown} - onMouseUp={this.handleMouseUp} >
{children}