change timeout 0 to 1

This commit is contained in:
Matias Alejo Garcia 2014-11-01 21:56:58 -03:00
commit 97aac05374
2 changed files with 3 additions and 3 deletions

View file

@ -220,7 +220,7 @@ angular.module('copayApp.services')
} }
$timeout(function() { $timeout(function() {
$rootScope.$digest() $rootScope.$digest()
}, 0); }, 1);
}; };
// On the focused wallet // On the focused wallet

View file

@ -43,7 +43,7 @@ angular.module('copayApp.services')
} }
$timeout(function() { $timeout(function() {
$rootScope.$digest() $rootScope.$digest()
}, 0); }, 1);
return; return;
} }
@ -87,7 +87,7 @@ angular.module('copayApp.services')
} }
$timeout(function() { $timeout(function() {
$rootScope.$digest() $rootScope.$digest()
}, 0); }, 1);
} else { } else {
var firstWallet = iden.getLastFocusedWallet(); var firstWallet = iden.getLastFocusedWallet();
controllerUtils.bindProfile(scope, iden, firstWallet); controllerUtils.bindProfile(scope, iden, firstWallet);