Log when we start waiting for an online event

// FREEBIE
This commit is contained in:
lilia 2015-09-21 10:19:40 -07:00
parent 823f570955
commit 21667d9181

View file

@ -153,6 +153,7 @@
if (navigator.onLine) {
setTimeout(init, 60000);
} else {
console.log('offline');
window.addEventListener('online', init);
}
return;