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