From 21667d91815b2c6356e4773ae385b9bd7104df6c Mon Sep 17 00:00:00 2001 From: lilia Date: Mon, 21 Sep 2015 10:19:40 -0700 Subject: [PATCH] Log when we start waiting for an online event // FREEBIE --- js/background.js | 1 + 1 file changed, 1 insertion(+) diff --git a/js/background.js b/js/background.js index ad330c20..af083aac 100644 --- a/js/background.js +++ b/js/background.js @@ -153,6 +153,7 @@ if (navigator.onLine) { setTimeout(init, 60000); } else { + console.log('offline'); window.addEventListener('online', init); } return;