fixed typo

This commit is contained in:
joey 2020-04-06 14:57:33 -04:00
parent 29947c52a5
commit c2eab092fd

View file

@ -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;
} }