Skip to content

Commit

Permalink
Update index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianj98 committed Feb 3, 2014
1 parent 956aa6d commit fba4c60
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@
// Wait for device API libraries to load
//
document.addEventListener("deviceready", onDeviceReady, false);

document.addEventListener("resume", onDeviceReady, false);
document.addEventListener("online", onDeviceReady, false);
// device APIs are available
//
function onDeviceReady() {
Expand Down

0 comments on commit fba4c60

Please sign in to comment.