diff --git a/js/angular/controller/slideBoxController.js b/js/angular/controller/slideBoxController.js index d5dad42fb9..ec3fac5ef6 100644 --- a/js/angular/controller/slideBoxController.js +++ b/js/angular/controller/slideBoxController.js @@ -208,7 +208,7 @@ function(scope, element, $$ionicAttachDrag, $interval) { // Select a new slide if it's avaiable if (self.isInRange(nextIndex)) { var transitionDuration = Math.min( - slidesParent.prop('offsetWidth') / (3 * velocity), + slidesParent.prop('offsetWidth') / (velocity), SLIDE_TRANSITION_DURATION ); self.select(nextIndex, transitionDuration); diff --git a/test/html/slideBox.html b/test/html/slideBox.html index ac0b92594a..784e8d661e 100644 --- a/test/html/slideBox.html +++ b/test/html/slideBox.html @@ -94,7 +94,7 @@ .controller('SlideCtrl', function($scope, $timeout) { $scope.items = []; - for (var i = 0; i < 1000; i++) { + for (var i = 0; i < 10; i++) { $scope.items.push(i); }