Skip to content
Browse files

Merge pull request #150 from jnpwebdeveloper/patch-1

Fixes backwards compatibility with jQuery 1.3.2.
  • Loading branch information...
2 parents 63272ba + 861a735 commit 19dde8051d9dd59a9f1563d2fef2afda3aca7a45 @tylerxo tylerxo committed May 15, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 jquery.flexslider.js
View
2 jquery.flexslider.js
@@ -21,7 +21,7 @@
slider.init = function() {
slider.vars = $.extend({}, $.flexslider.defaults, options);
$.data(el, 'flexsliderInit', true);
- slider.container = $('.slides', slider).first();
+ slider.container = $('.slides', slider).eq(0);
slider.slides = $('.slides:first > li', slider);
slider.count = slider.slides.length;
slider.animating = false;

0 comments on commit 19dde80

Please sign in to comment.
Something went wrong with that request. Please try again.