Update the badge when opening next link in new tab.

This commit is contained in:
Bauke 2022-03-17 13:43:01 +01:00
parent adab28447d
commit f4d0009f73
Signed by: Bauke
GPG Key ID: C1C0F29952BCF558
1 changed files with 1 additions and 1 deletions

View File

@ -89,7 +89,7 @@ async function contextClicked(
} else { } else {
await browser.tabs.create({active: true, url: nextItem.url}); await browser.tabs.create({active: true, url: nextItem.url});
await settings.removeQueueItem(nextItem.id); await settings.removeQueueItem(nextItem.id);
await settings.save(); await updateBadge(settings);
} }
} else if (id === 'queue-open-options-page') { } else if (id === 'queue-open-options-page') {
await browser.runtime.openOptionsPage(); await browser.runtime.openOptionsPage();