Merge pull request #910 from matrix-org/t3chguy/version_anchor_newtab

Make the linked versions open a new tab, turt2live complained :P
pull/21833/head
David Baker 2017-05-23 13:51:40 +01:00 committed by GitHub
commit 46bb29a3af
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ const gHVersionLabel = function(repo, token='') {
} else {
url = `https://github.com/${repo}/commit/${token.split('-')[0]}`;
}
return <a href={url}>{token}</a>;
return <a target="_blank" rel="noopener" href={url}>{token}</a>;
};
// Enumerate some simple 'flip a bit' UI settings (if any).