mirror of
https://github.com/element-hq/element-web
synced 2024-11-24 18:25:49 +03:00
Lint
This commit is contained in:
parent
4bcb9f12d4
commit
ade43c4e5b
1 changed files with 6 additions and 2 deletions
|
@ -446,7 +446,9 @@ module.exports = React.createClass({
|
|||
"Either use HTTPS or <a>enable unsafe scripts</a>.", {},
|
||||
{
|
||||
'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 }
|
||||
</a>;
|
||||
},
|
||||
|
@ -460,7 +462,9 @@ module.exports = React.createClass({
|
|||
"is not blocking requests.", {},
|
||||
{
|
||||
'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>;
|
||||
},
|
||||
},
|
||||
) }
|
||||
|
|
Loading…
Reference in a new issue