Skip to content

Commit 81a7342

Browse files
committed
fix(slidebox): default to not autoplay
1 parent 6b21804 commit 81a7342

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: js/angular/directive/slideBox.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ function($timeout, $compile, $ionicSlideBoxDelegate) {
5959
var _this = this;
6060

6161
var continuous = $scope.$eval($scope.doesContinue) === true;
62-
var shouldAutoPlay = isDefined($attrs.autoPlay) ? !!$scope.autoPlay : true;
62+
var shouldAutoPlay = isDefined($attrs.autoPlay) ? !!$scope.autoPlay : false;
6363
var slideInterval = shouldAutoPlay ? $scope.$eval($scope.slideInterval) || 4000 : 0;
6464

6565
var slider = new ionic.views.Slider({

0 commit comments

Comments
 (0)