Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Add target="_blank" to links that don't have it #2496

Merged
merged 2 commits into from
Jan 24, 2019
Merged

Conversation

dbkr
Copy link
Member

@dbkr dbkr commented Jan 24, 2019

This is now more of a problem in the Electron app because of
electron/electron#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
element-hq/element-web#8247).

Fixes element-hq/element-web#8226

This is now more of a problem in the Electron app because of
electron/electron#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
element-hq/element-web#8247).

Fixes element-hq/element-web#8226
@dbkr dbkr requested a review from a team January 24, 2019 16:22
@dbkr dbkr self-assigned this Jan 24, 2019
Copy link
Member

@turt2live turt2live left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm assuming tests go green. Looks like there's a bit of a backlog though :(

@@ -26,7 +26,7 @@ module.exports = React.createClass({
render: function() {
return (
<div className="mx_AuthFooter">
<a href="https://matrix.org">{ _t("powered by Matrix") }</a>
<a href="https://matrix.org" target="_blank" rel="noopener">{ _t("powered by Matrix") }</a>
Copy link
Collaborator

@jryans jryans Jan 24, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This link is replaced with more links in riot-web, so you may want an additional PR there as well.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah, good point

dbkr added a commit to element-hq/element-web that referenced this pull request Jan 24, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants