diff options
author | Austin Siew <17107540+Aquafina-water-bottle@users.noreply.github.com> | 2023-03-29 20:45:59 -0600 |
---|---|---|
committer | Darius Jahandarie <djahandarie@gmail.com> | 2023-04-02 22:12:01 +0900 |
commit | 66521d3d16af4e15ba921aaf5d57e6ac331ea917 (patch) | |
tree | 203b448c5c6077d6763569d881279fb1410c254b /ext/js | |
parent | 5fcd37872a5adb45c42e17a78b87d1e174e72908 (diff) |
refactor: fixed linting errors
Diffstat (limited to 'ext/js')
-rw-r--r-- | ext/js/background/backend.js | 8 |
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 { |