updated comments
This commit is contained in:
parent
fbff608aae
commit
29947c52a5
1 changed files with 2 additions and 1 deletions
|
@ -269,7 +269,8 @@ const backgroundLogic = {
|
|||
if (windowId === -1) {
|
||||
const newWindowObj = await browser.windows.create();
|
||||
windowId = newWindowObj.id;
|
||||
// take the tab is from the newly created window for deleting uses
|
||||
// Since creating new window will have opened n default tab,
|
||||
// take the tab id here, and we could delete it after moving
|
||||
newlyOpenedTabId = newWindowObj.tabs[0].id;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue