Permalink
Browse files

Update index.html

  • Loading branch information...
adrianj98 committed Feb 3, 2014
1 parent 956aa6d commit fba4c60e00b6ba1aca61a4ec821d08a9c385d7a8
Showing with 2 additions and 1 deletion.
  1. +2 −1 index.html
View
@@ -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() {

0 comments on commit fba4c60

Please sign in to comment.