mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-01-14 08:32:44 +00:00
(WIP) Remove target=_blank and rel=noopener noreferrer from brewItem.jsx to eliminate white flash on User page when clicking link to download source of a brew.
This commit is contained in:
@@ -73,7 +73,7 @@ const BrewItem = createClass({
|
|||||||
shareLink = this.props.brew.googleId + shareLink;
|
shareLink = this.props.brew.googleId + shareLink;
|
||||||
}
|
}
|
||||||
|
|
||||||
return <a href={`/${path}/${shareLink}`} target='_blank' rel='noopener noreferrer'>
|
return <a href={`/${path}/${shareLink}`} target=`${(path != 'download') ? '_blank' : ''}` rel=`${(path != 'download') ? 'noopener noreferrer') ? '_blank' : ''}`>
|
||||||
<i className={`fa ${icon}`} />
|
<i className={`fa ${icon}`} />
|
||||||
</a>;
|
</a>;
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user