Fix set deviceId after deviceReady

This commit is contained in:
Gustavo Maximiliano Cortez 2015-04-13 10:37:42 -03:00
parent 33e2d552c2
commit 7e4d077693
2 changed files with 7 additions and 7 deletions

View File

@ -1,5 +1,5 @@
<!doctype html>
<html lang="en" ng-app="copayApp">
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">

View File

@ -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();
}
});