From 2eaa1753a0dae5e75025557af4dfe977ad10663a Mon Sep 17 00:00:00 2001 From: Corentin Date: Mon, 20 Mar 2023 06:56:10 +0900 Subject: [PATCH] Clean wrong password (avoid repeated notification) * Add cursor pointer on notification close icon --- background.js | 1 + manifest.json | 2 +- popup.css | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/background.js b/background.js index 92a2d42..fb93789 100644 --- a/background.js +++ b/background.js @@ -130,6 +130,7 @@ async function restore(storage) } catch(_error) { + state.key = null show_error('Cannot decrypt entries: wrong password') } } diff --git a/manifest.json b/manifest.json index f380b49..7985937 100644 --- a/manifest.json +++ b/manifest.json @@ -20,5 +20,5 @@ "storage", "clipboardWrite" ], - "version": "1.3.1" + "version": "1.3.2" } \ No newline at end of file diff --git a/popup.css b/popup.css index dbb5378..7022918 100644 --- a/popup.css +++ b/popup.css @@ -201,6 +201,7 @@ h2 { #notification img { height: 1em; + cursor: pointer; } #password-container {