From 87158f6e65471ab3259c1f37072eaca1ed776e09 Mon Sep 17 00:00:00 2001 From: sage Date: Thu, 3 Feb 2022 16:43:27 +0700 Subject: [PATCH] :bug: (svelte) Use computed src value on iframe element --- packages/svelte/lib/Giscus.svelte | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/svelte/lib/Giscus.svelte b/packages/svelte/lib/Giscus.svelte index 8a6121fc..940f644c 100644 --- a/packages/svelte/lib/Giscus.svelte +++ b/packages/svelte/lib/Giscus.svelte @@ -73,7 +73,6 @@ onMount(() => { if (!iframe) return iframe = iframe as HTMLIFrameElement - iframe.src = src iframe.addEventListener('load', () => iFrameResizer.iframeResizer( { checkOrigin: [GISCUS_ORIGIN] }, @@ -89,5 +88,5 @@
-