Update the badge when opening next link in new tab.
This commit is contained in:
parent
adab28447d
commit
f4d0009f73
|
@ -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();
|
||||||
|
|
Loading…
Reference in New Issue