diff --git a/background.js b/background.js index 1c272fb..f2f8706 100644 --- a/background.js +++ b/background.js @@ -1,5 +1,5 @@ browser.idle.onStateChanged.addListener((state) => { - if (state == 'idle') { + if (state === 'idle') { browser.storage.local.get('days').then((res) => { var days = parseInt(res.days) || 0; if (days !== 0) {