From 81a7342fc74eb701e8d63926108daf3593889e42 Mon Sep 17 00:00:00 2001 From: Perry Govier Date: Fri, 11 Jul 2014 17:11:52 -0500 Subject: [PATCH] fix(slidebox): default to not autoplay --- js/angular/directive/slideBox.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/angular/directive/slideBox.js b/js/angular/directive/slideBox.js index 9d0f4630d56..c9b7587875b 100644 --- a/js/angular/directive/slideBox.js +++ b/js/angular/directive/slideBox.js @@ -59,7 +59,7 @@ function($timeout, $compile, $ionicSlideBoxDelegate) { var _this = this; var continuous = $scope.$eval($scope.doesContinue) === true; - var shouldAutoPlay = isDefined($attrs.autoPlay) ? !!$scope.autoPlay : true; + var shouldAutoPlay = isDefined($attrs.autoPlay) ? !!$scope.autoPlay : false; var slideInterval = shouldAutoPlay ? $scope.$eval($scope.slideInterval) || 4000 : 0; var slider = new ionic.views.Slider({