forked from treehouse/mastodon
quote posts: open links to quoted account/post in the same window
WIP: reloads the page because js events do not get properly attached because ???open-quote-links-in-same-window
parent
98d9c84c8b
commit
3d84c2562f
|
@ -294,12 +294,12 @@ export default class StatusContent extends React.PureComponent {
|
|||
aria-hidden='true'
|
||||
key='icon-quote-right' />
|
||||
<strong class="display-name__html">
|
||||
<a onClick={this.handleAccountClick} href={quoteStatus.getIn(['account', 'url'])} dangerouslySetInnerHTML={quoteStatusDisplayName} />
|
||||
<a onClick={this.handleAccountClick} href={`/@${quoteStatus.getIn(['account', 'acct'])}`} dangerouslySetInnerHTML={quoteStatusDisplayName} />
|
||||
</strong>
|
||||
</span>
|
||||
</bdi>
|
||||
<div>
|
||||
<a href={quoteStatus.get('url')} target='_blank' rel='noopener noreferrer' dangerouslySetInnerHTML={quoteStatusContent} />
|
||||
<a onClick={this.handleClick} href={`/@${quoteStatus.getIn(['account', 'acct'])}\/${quoteStatus.get('id')}`} rel='noopener noreferrer' dangerouslySetInnerHTML={quoteStatusContent} />
|
||||
</div>
|
||||
</blockquote>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue