исправление открытия в новом окне
This commit is contained in:
parent
55be73c07f
commit
6da08316af
@ -118,10 +118,11 @@ return (
|
||||
})()
|
||||
}
|
||||
rightIcon={
|
||||
<svg onClick={(e) => {
|
||||
<a href={`magnet:?xt=urn:btih:${torrent.hash}`}>
|
||||
<svg style={{height: '24px'}} onClick={(e) => {
|
||||
e.preventDefault();
|
||||
e.stopPropagation();
|
||||
var win = window.open(`magnet:?xt=urn:btih:${torrent.hash}`, '_blank');
|
||||
var win = window.open(`magnet:?xt=urn:btih:${torrent.hash}`, '_self');
|
||||
}} viewBox="0 0 24 24">
|
||||
<path d="M15.82 10.736l-5.451 6.717c-.561.691-1.214 1.042-1.94 1.042-1.144
|
||||
0-2.327-.899-2.753-2.091-.214-.6-.386-1.76.865-2.784 3.417-2.794 6.716-5.446
|
||||
@ -134,7 +135,9 @@ return (
|
||||
2.122-.288 3.233-1.658l3.355-4.134 1.572 1.294c-1.044 1.291-2.392 2.954-3.373
|
||||
4.151zm6.152-7.934l4.318-2.88-1.575-.638 1.889-2.414-4.421 2.788 1.716.695-1.927
|
||||
2.449zm-7.292-7.186l4.916-1.667-1.356-1.022 2.448-2.006-4.991 1.712
|
||||
1.478 1.114-2.495 1.869z"/></svg>}
|
||||
1.478 1.114-2.495 1.869z"/></svg>
|
||||
</a>
|
||||
}
|
||||
/>
|
||||
<Divider />
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user