pull/21833/head
David Baker 2019-01-24 17:19:04 +00:00
parent 4bcb9f12d4
commit ade43c4e5b
1 changed files with 6 additions and 2 deletions

View File

@ -446,7 +446,9 @@ module.exports = React.createClass({
"Either use HTTPS or <a>enable unsafe scripts</a>.", {}, "Either use HTTPS or <a>enable unsafe scripts</a>.", {},
{ {
'a': (sub) => { 'a': (sub) => {
return <a target="_blank" rel="noopener" href="https://www.google.com/search?&q=enable%20unsafe%20scripts"> return <a target="_blank" rel="noopener"
href="https://www.google.com/search?&q=enable%20unsafe%20scripts"
>
{ sub } { sub }
</a>; </a>;
}, },
@ -460,7 +462,9 @@ module.exports = React.createClass({
"is not blocking requests.", {}, "is not blocking requests.", {},
{ {
'a': (sub) => { 'a': (sub) => {
return <a target="_blank" rel="noopener" href={this.state.enteredHomeserverUrl}>{ sub }</a>; return <a target="_blank" rel="noopener"
href={this.state.enteredHomeserverUrl}
>{ sub }</a>;
}, },
}, },
) } ) }