From fddf52ad45619f2733152a2b1d1b4b03e9e99ff5 Mon Sep 17 00:00:00 2001 From: Martin McKeaveney Date: Tue, 9 Nov 2021 12:25:02 +0100 Subject: [PATCH] remove comment --- .../src/components/design/AppPreview/CurrentItemPreview.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/builder/src/components/design/AppPreview/CurrentItemPreview.svelte b/packages/builder/src/components/design/AppPreview/CurrentItemPreview.svelte index 8759d63729..ac5e7ef48d 100644 --- a/packages/builder/src/components/design/AppPreview/CurrentItemPreview.svelte +++ b/packages/builder/src/components/design/AppPreview/CurrentItemPreview.svelte @@ -138,7 +138,7 @@ onDestroy(() => { if (iframe.contentWindow) { if ($store.clientFeatures.messagePassing) { - window.removeEventListener("message", receiveMessage) // + window.removeEventListener("message", receiveMessage) } else { // Legacy - remove in later versions of BB iframe.contentWindow.removeEventListener("bb-event", handleBudibaseEvent)