diff --git a/src/scripts/ytContent.tsx b/src/scripts/ytContent.tsx index 50ea6ac..d267eb8 100644 --- a/src/scripts/ytContent.tsx +++ b/src/scripts/ytContent.tsx @@ -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 */