From 7e4d0776939e10d67e11401954b893551727b777 Mon Sep 17 00:00:00 2001 From: Gustavo Maximiliano Cortez Date: Mon, 13 Apr 2015 10:37:42 -0300 Subject: [PATCH] Fix set deviceId after deviceReady --- public/index.html | 2 +- src/js/init.js | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/public/index.html b/public/index.html index e77f333c4..b03b75e9c 100644 --- a/public/index.html +++ b/public/index.html @@ -1,5 +1,5 @@  - + diff --git a/src/js/init.js b/src/js/init.js index 12802cb5a..e5dc0ab5e 100644 --- a/src/js/init.js +++ b/src/js/init.js @@ -2,10 +2,10 @@ angular.element(document).ready(function() { - // this is now in HTML tab, witch is compatible with Windows Phone - // var startAngular = function() { - // angular.bootstrap(document, ['copayApp']); - // }; + // Run copayApp after device is ready. + var startAngular = function() { + angular.bootstrap(document, ['copayApp']); + }; /* Cordova specific Init */ if (window.cordova !== undefined) { @@ -59,10 +59,10 @@ angular.element(document).ready(function() { window.plugins.webintent.onNewIntent(handleBitcoinURI); window.handleOpenURL = handleBitcoinURI; - // startAngular(); + startAngular(); }, false); } else { - // startAngular(); + startAngular(); } });