diff --git a/src/background/open.js b/src/background/open.js index 94cfc197..ff4dca36 100644 --- a/src/background/open.js +++ b/src/background/open.js @@ -85,10 +85,10 @@ export async function openSession(session, property = "openInNewWindow") { await openInCurrentWindow(); break; case "openInNewWindow": - openInNewWindow(); + await openInNewWindow(); break; case "addToCurrentWindow": - addToCurrentWindow(); + await addToCurrentWindow(); break; } } else {