Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Delegate click event for asNavFor / Sync'd sliders #658

Closed
wants to merge 1 commit into from

2 participants

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  jquery.flexslider.js
View
2  jquery.flexslider.js
@@ -139,7 +139,7 @@
slider.animatingTo = Math.floor(slider.currentSlide/slider.move);
slider.currentItem = slider.currentSlide;
slider.slides.removeClass(namespace + "active-slide").eq(slider.currentItem).addClass(namespace + "active-slide");
- slider.slides.click(function(e){
+ slider.delegate(vars.selector, "click", function(e) {
e.preventDefault();
var $slide = $(this),
target = $slide.index();
Something went wrong with that request. Please try again.