Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/keepassxreboot/keepassxc-browser.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'keepassxc-browser/content/keepassxc-browser.js')
-rwxr-xr-xkeepassxc-browser/content/keepassxc-browser.js3
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