Log when we start waiting for an online event
// FREEBIE
This commit is contained in:
parent
823f570955
commit
21667d9181
1 changed files with 1 additions and 0 deletions
|
@ -153,6 +153,7 @@
|
|||
if (navigator.onLine) {
|
||||
setTimeout(init, 60000);
|
||||
} else {
|
||||
console.log('offline');
|
||||
window.addEventListener('online', init);
|
||||
}
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue