From f4d0009f733f730c4dd0a82394fe582fb4747929 Mon Sep 17 00:00:00 2001 From: Bauke Date: Thu, 17 Mar 2022 13:43:01 +0100 Subject: [PATCH] Update the badge when opening next link in new tab. --- source/background-scripts/context-menus.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/background-scripts/context-menus.ts b/source/background-scripts/context-menus.ts index 7da8c4d..d76fca9 100644 --- a/source/background-scripts/context-menus.ts +++ b/source/background-scripts/context-menus.ts @@ -89,7 +89,7 @@ async function contextClicked( } else { await browser.tabs.create({active: true, url: nextItem.url}); await settings.removeQueueItem(nextItem.id); - await settings.save(); + await updateBadge(settings); } } else if (id === 'queue-open-options-page') { await browser.runtime.openOptionsPage();