diff options
Diffstat (limited to 'keepassxc-browser/content/keepassxc-browser.js')
-rwxr-xr-x | keepassxc-browser/content/keepassxc-browser.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/keepassxc-browser/content/keepassxc-browser.js b/keepassxc-browser/content/keepassxc-browser.js index a13598e..f67e471 100755 --- a/keepassxc-browser/content/keepassxc-browser.js +++ b/keepassxc-browser/content/keepassxc-browser.js @@ -701,13 +701,14 @@ kpxc.siteIgnored = async function(condition) { // Updates database status and icons when tab is activated again kpxc.triggerActivatedTab = async function() { await kpxc.updateDatabaseState(); - kpxcIcons.switchIcons(); if (kpxc.databaseState === DatabaseState.UNLOCKED && kpxc.credentials.length === 0) { await kpxc.retrieveCredentials(); } else if (kpxc.credentials.length > 0) { kpxc.initLoginPopup(); } + + kpxcIcons.switchIcons(); }; // Updates the database state to the content script |