Skip to content

Commit 0610eea

Browse files
mchangrhajayyy
andauthored
Update src/popup.ts
Co-authored-by: Ajay Ramachandran <[email protected]>
1 parent 1fcfea9 commit 0610eea

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/popup.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,7 @@ window.addEventListener("message", async (e): Promise<void> => {
7171
if (e.source !== window.parent) return;
7272
if (e.origin.endsWith('.youtube.com')) {
7373
allowPopup = true;
74-
return
7574
}
76-
else return;
7775
});
7876

7977
//make this a function to allow this to run on the content page

0 commit comments

Comments
 (0)