mirror of
https://github.com/LBRYFoundation/Watch-on-LBRY.git
synced 2025-08-23 17:47:26 +00:00
🍙 Redirect bug fix
- location.replace was running for the app too
This commit is contained in:
parent
94cda17b99
commit
4653f77be4
1 changed files with 2 additions and 1 deletions
|
@ -67,7 +67,8 @@ async function redirectTo({ lbryPathname, platfrom, time }: Target) {
|
|||
if (window.history.length === 1) window.close()
|
||||
else window.history.back()
|
||||
}
|
||||
location.replace(url.toString())
|
||||
else
|
||||
location.replace(url.toString())
|
||||
}
|
||||
|
||||
/** Returns a mount point for the button */
|
||||
|
|
Loading…
Add table
Reference in a new issue