mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2025-12-29 00:22:47 +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;
|
||||
}
|
||||
|
||||
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}`} />
|
||||
</a>;
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user