1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-17 16:53:34 +00:00

[EC-598] fix: popup not closing bug

This commit is contained in:
Andreas Coroiu
2023-09-07 14:47:32 +02:00
parent 64fa5fc236
commit 7e00e02f95

View File

@@ -38,7 +38,7 @@ export class BrowserApi {
}
static async removeWindow(windowId: number) {
await chrome.tabs.remove(windowId);
await chrome.windows.remove(windowId);
}
static async getTabFromCurrentWindowId(): Promise<chrome.tabs.Tab> | null {