fix bug when changing selector too fast

This commit is contained in:
Gabriel Bazán 2017-04-17 12:28:23 -03:00
parent 70f780010a
commit 4c4a14d068
1 changed files with 1 additions and 1 deletions

View File

@ -157,7 +157,7 @@ angular.module('copayApp.directives')
scope.$emit('Wallet/Changed', scope.wallets ? scope.wallets[0] : null);
});
scope.$on("$ionicSlides.slideChangeEnd", function(event, data) {
scope.$on("$ionicSlides.slideChangeStart", function(event, data) {
scope.$emit('Wallet/Changed', scope.wallets ? scope.wallets[data.slider.activeIndex] : null);
});
}