Skip to content

Commit f6ec6a3

Browse files
committed
fix(slideBox): make does-continue attribute work continuously
Closes #575
1 parent 8354d42 commit f6ec6a3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

js/ext/angular/test/slideBox.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
<ion-side-menus>
4747
<ion-pane ion-side-menu-content>
4848
<ion-header-bar left-buttons="leftButtons" right-buttons="rightButtons" title=""></ion-header-bar>
49-
<ion-slide-box on-slide-changed="slideChanged(index)">
49+
<ion-slide-box on-slide-changed="slideChanged(index)" does-continue="true">
5050
<ion-slide ng-controller="FirstSlideCtrl">
5151
<h3>Thank you for choosing the Awesome App!</h3>
5252
<div id="logo">

js/views/sliderView.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ ionic.views.Slider = ionic.views.View.inherit({
229229

230230
function stop() {
231231

232-
delay = 0;
232+
delay = options.auto || 0;
233233
clearTimeout(interval);
234234

235235
}

0 commit comments

Comments
 (0)