Skip to content

Commit

Permalink
Minor syntax changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Rayquaza01 committed Apr 2, 2017
1 parent 7513e4e commit eb6e11b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion background.js
Original file line number Diff line number Diff line change
@@ -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) {
Expand Down

0 comments on commit eb6e11b

Please sign in to comment.