Skip to content

Commit 38e7166

Browse files
committed
fix(ionSlideBox): fix failing test
ion-pager should show unless told not to.
1 parent 355bf6a commit 38e7166

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

js/angular/directive/slideBox.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,7 @@ function($timeout, $compile, $ionicSlideBoxDelegate, $ionicHistory, $ionicScroll
160160
}
161161

162162
$attr.$observe('showPager', function(show) {
163+
if (show === undefined) return;
163164
show = $scope.$eval(show);
164165
getPager().toggleClass('hide', !show);
165166
});

0 commit comments

Comments
 (0)