updated comments

This commit is contained in:
joey 2020-04-06 14:55:46 -04:00
parent fbff608aae
commit 29947c52a5

View file

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