Minor syntax changes

This commit is contained in:
Joe Jarvis 2017-04-01 20:19:14 -04:00
parent 7513e4ea90
commit eb6e11b2a8

View file

@ -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) {