Skip to content

Commit

Permalink
fixed bug that effected first slide on touch devices
Browse files Browse the repository at this point in the history
  • Loading branch information
nathansearles committed Feb 7, 2013
1 parent 0f00dc2 commit abd2d25
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 37 deletions.
2 changes: 1 addition & 1 deletion examples/basic/js/jquery.slides.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion examples/multiple/js/jquery.slides.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion examples/standard/js/jquery.slides.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion index.html
Expand Up @@ -391,7 +391,7 @@ <h2>I can't figure out how to add SlidesJS to my site. Can you help me?</h2>
<!-- End Highlight.js -->

<!-- SlidesJS Required: Link to jquery.slides.js -->
<script src="source/jquery.slides.min.js"></script>
<script src="js/jquery.slides.min.js"></script>
<!-- End SlidesJS Required -->

<!-- SlidesJS Required: Initialize SlidesJS with a jQuery doc ready -->
Expand Down
2 changes: 1 addition & 1 deletion js/jquery.slides.min.js

Large diffs are not rendered by default.

5 changes: 4 additions & 1 deletion source/jquery.slides.coffee
Expand Up @@ -7,7 +7,7 @@
# Documentation and examples http://slidesjs.com
# Support forum http://groups.google.com/group/slidesjs

# Version: 3.0.2d beta
# Version: 3.0.2e beta
# Updated: February 7th, 2013

# SlidesJS is an open source project, contribute at GitHub:
Expand Down Expand Up @@ -168,6 +168,9 @@
# Update sets width/height of slideshow
@update()

# If touch device setup next slides
@_setuptouch() if @data.touch

# Fade in start slide
$(".slidesjs-control", $element)
.children(":eq(" + @data.current + ")")
Expand Down
33 changes: 2 additions & 31 deletions source/jquery.slides.min.js

Large diffs are not rendered by default.

0 comments on commit abd2d25

Please sign in to comment.