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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user