Prevent duplicate install notifications (#125)

This commit is contained in:
Maxim Baz
2019-04-19 00:36:55 +02:00
committed by GitHub
parent 453aff64fe
commit 3d487e504c

View File

@@ -1014,12 +1014,15 @@ function onExtensionInstalled(details) {
};
if (details.reason === "install") {
if (localStorage.getItem("installed") === null) {
localStorage.setItem("installed", Date.now());
show(
"installed",
"browserpass: Install native host app",
"Remember to install the complementary native host app to use this extension.\n" +
"Instructions here: https://github.com/browserpass/browserpass-native"
);
}
} else if (details.reason === "update") {
var changelog = {
3000000: