From 0610eea53de767c1e719846aa92c3c0898f66717 Mon Sep 17 00:00:00 2001 From: "Michael M. Chang" Date: Fri, 21 Oct 2022 01:01:25 -0400 Subject: [PATCH] Update src/popup.ts Co-authored-by: Ajay Ramachandran --- src/popup.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/popup.ts b/src/popup.ts index 847a8e81..085c3f82 100644 --- a/src/popup.ts +++ b/src/popup.ts @@ -71,9 +71,7 @@ window.addEventListener("message", async (e): Promise => { if (e.source !== window.parent) return; if (e.origin.endsWith('.youtube.com')) { allowPopup = true; - return } - else return; }); //make this a function to allow this to run on the content page