fix bootstrap
This commit is contained in:
parent
a132398fca
commit
9b4e3db725
1 changed files with 7 additions and 5 deletions
12
js/init.js
12
js/init.js
|
|
@ -1,9 +1,11 @@
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
angular.element(document).ready(function() {
|
angular.element(document).ready(function() {
|
||||||
var startAngular = function() {
|
|
||||||
angular.bootstrap(document, ['copayApp']);
|
// this is now in HTML tab, witch is compatible with Windows Phone
|
||||||
};
|
// var startAngular = function() {
|
||||||
|
// angular.bootstrap(document, ['copayApp']);
|
||||||
|
// };
|
||||||
/* Cordova specific Init */
|
/* Cordova specific Init */
|
||||||
if (window.cordova !== undefined) {
|
if (window.cordova !== undefined) {
|
||||||
|
|
||||||
|
|
@ -28,10 +30,10 @@ angular.element(document).ready(function() {
|
||||||
window.plugins.webintent.onNewIntent(handleBitcoinURI);
|
window.plugins.webintent.onNewIntent(handleBitcoinURI);
|
||||||
window.handleOpenURL = handleBitcoinURI;
|
window.handleOpenURL = handleBitcoinURI;
|
||||||
|
|
||||||
startAngular();
|
// startAngular();
|
||||||
}, false);
|
}, false);
|
||||||
} else {
|
} else {
|
||||||
startAngular();
|
// startAngular();
|
||||||
}
|
}
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue