From c9874719c916958fc6a36d524069da9d7e668068 Mon Sep 17 00:00:00 2001 From: davidlo Date: Sun, 15 Jan 2023 02:14:52 -0800 Subject: [PATCH] Fix extension behavior for Auto-Open This makes the extension behave as expected in my set up, where unlocking the primary DB (which unlocks the child DBs automatically) keep the extension in an "unlocked" state. --- keepassxc-browser/content/keepassxc-browser.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/keepassxc-browser/content/keepassxc-browser.js b/keepassxc-browser/content/keepassxc-browser.js index e01f2b1..e3f3481 100755 --- a/keepassxc-browser/content/keepassxc-browser.js +++ b/keepassxc-browser/content/keepassxc-browser.js @@ -103,7 +103,7 @@ kpxc.detectDatabaseChange = async function(response) { kpxcIcons.switchIcons(); if (document.visibilityState !== 'hidden') { - if (response.hash.new !== '' && response.hash.new !== response.hash.old) { + if (response.hash.new !== '') { _called.retrieveCredentials = false; const settings = await sendMessage('load_settings'); kpxc.settings = settings;