mirror of https://github.com/BTCPrivate/copay.git
fix slider
This commit is contained in:
parent
0058f7557c
commit
6575e078f6
|
@ -154,8 +154,6 @@ angular.module('copayApp.directives')
|
||||||
link: function(scope, element, attrs) {
|
link: function(scope, element, attrs) {
|
||||||
scope.$on("$ionicSlides.sliderInitialized", function(event, data) {
|
scope.$on("$ionicSlides.sliderInitialized", function(event, data) {
|
||||||
scope.slider = data.slider;
|
scope.slider = data.slider;
|
||||||
if(scope.slider.slides.length == 1)
|
|
||||||
scope.slider.lockSwipes();
|
|
||||||
scope.$emit('Wallet/Changed', scope.wallets ? scope.wallets[0] : null);
|
scope.$emit('Wallet/Changed', scope.wallets ? scope.wallets[0] : null);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue