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