coyotte508 HF staff commited on
Commit
6256397
1 Parent(s): 96fc153

Update packages/widgets/src/routes/+page.svelte

Browse files
packages/widgets/src/routes/+page.svelte CHANGED
@@ -18,7 +18,7 @@
18
  * If we are in an iframe, we need to open the auth page in a new tab
19
  * to avoid issues with third-party cookies in a space
20
  */
21
- const isIframe = false;// browser && window.self !== window.parent;
22
 
23
  onMount(() => {
24
  if (!data.supportsOAuth) {
 
18
  * If we are in an iframe, we need to open the auth page in a new tab
19
  * to avoid issues with third-party cookies in a space
20
  */
21
+ const isIframe = browser && window.self !== window.parent;
22
 
23
  onMount(() => {
24
  if (!data.supportsOAuth) {