Skip to content

Commit

Permalink
see if document ready is the problem when testing on travis
Browse files Browse the repository at this point in the history
  • Loading branch information
jasoncalabrese committed Sep 3, 2017
1 parent 325e307 commit 7428040
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions static/js/client.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ $(document).on('online', function() {
window.location.reload();
});

$(document).ready(function() {
console.log('Application got ready event');
window.Nightscout.client.init();
});
//$(document).ready(function() {
// console.log('Application got ready event');
// window.Nightscout.client.init();
//});
window.Nightscout.client.init();

0 comments on commit 7428040

Please sign in to comment.