You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-07-28 15:22:05 +03:00
Add target="_blank" to links that don't have it
This is now more of a problem in the Electron app because of https://github.com/electron/electron/issues/8841 but is still annoying in the webapp if you're taken away from your chat client. Exception is the SSO link, as commented (issue filed at https://github.com/vector-im/riot-web/issues/8247). Fixes https://github.com/vector-im/riot-web/issues/8226
This commit is contained in:
@ -605,7 +605,7 @@ module.exports = React.createClass({
|
||||
<div>
|
||||
<h3>Referral</h3>
|
||||
<div className="mx_UserSettings_section">
|
||||
{ _t("Refer a friend to Riot:") } <a href={href}>{ href }</a>
|
||||
{ _t("Refer a friend to Riot:") } <a href={href} target="_blank" rel="noopener">{ href }</a>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
|
Reference in New Issue
Block a user