aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/js/background/backend.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/js/background/backend.js b/ext/js/background/backend.js
index a22371ed..f3cb9548 100644
--- a/ext/js/background/backend.js
+++ b/ext/js/background/backend.js
@@ -2154,11 +2154,11 @@ class Backend {
async _openWelcomeGuidePageOnce() {
if (isObject(chrome.storage) && isObject(chrome.storage.session)) {
- chrome.storage.session.get(["openedWelcomePage"]).then((result) => {
- console.log(new Date(), "openedWelcomePage:", result["openedWelcomePage"]);
- if (!result["openedWelcomePage"]) {
+ chrome.storage.session.get(['openedWelcomePage']).then((result) => {
+ console.log(new Date(), 'openedWelcomePage:', result.openedWelcomePage);
+ if (!result.openedWelcomePage) {
this._openWelcomeGuidePage();
- chrome.storage.session.set({"openedWelcomePage": true});
+ chrome.storage.session.set({'openedWelcomePage': true});
}
});
} else {