diff --git a/keepassxc-browser/background/browserAction.js b/keepassxc-browser/background/browserAction.js index d3ef3635..679c7f41 100755 --- a/keepassxc-browser/background/browserAction.js +++ b/keepassxc-browser/background/browserAction.js @@ -71,8 +71,8 @@ browserAction.updateIcon = async function(tab, iconType) { }; browserAction.setBadgeText = function(tabId, badgeText) { - browser.browserAction.setBadgeBackgroundColor({ color: '#666666' }); - browser.browserAction.setBadgeText({ text: badgeText, tabId: tabId }); + browserActionWrapper.setBadgeBackgroundColor({ color: '#666666' }); + browserActionWrapper.setBadgeText({ text: badgeText, tabId: tabId }); }; browserAction.generateIconName = async function(iconType) {