Skip to content

Commit e9cc9b6

Browse files
committed
Added newline for readability.
1 parent aa84b9e commit e9cc9b6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

slider.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
smallest = 9999,
2626
status = {current : 0, max : slides.length - 1},
2727
timers = {slides : '', resize : ''},
28+
2829
move = function(direction, current){
2930
if(inner.is(':animated')) return;
3031

@@ -35,7 +36,7 @@
3536
}else if(direction === 'left'){
3637
status.current = status.current-1 < 0 ? status.max : status.current-1;
3738
}else{
38-
status.current = current || "0";
39+
status.current = current || 0;
3940
}
4041

4142
navCircles.removeClass('current').eq(status.current).addClass('current');

0 commit comments

Comments
 (0)