diff --git a/src/routes/(app)/+layout.svelte b/src/routes/(app)/+layout.svelte index 8c1a7fb83..94122d4f3 100644 --- a/src/routes/(app)/+layout.svelte +++ b/src/routes/(app)/+layout.svelte @@ -149,6 +149,7 @@ href={link.href} class=" {data.notResponsive ? '' : 'hidden lg:inline'}" data-sveltekit-preload-data="off" + target={link.href.startsWith('http') ? '_blank' : '_self'} > {link.label} diff --git a/src/routes/(app)/product/[id]/+page.svelte b/src/routes/(app)/product/[id]/+page.svelte index 1cdb9e130..1cc1982f7 100644 --- a/src/routes/(app)/product/[id]/+page.svelte +++ b/src/routes/(app)/product/[id]/+page.svelte @@ -534,6 +534,7 @@ ) ? 'break-all' : ''} " + target={cta.href.startsWith('http') ? '_blank' : '_self'} > {cta.label} @@ -545,6 +546,7 @@ ) ? 'break-all' : ''} " + target={cta.href.startsWith('http') ? '_blank' : '_self'} > {cta.label}