Skip to content

Commit

Permalink
Merge pull request kenwheeler#1586 from ricardobeat/patch-1
Browse files Browse the repository at this point in the history
Use event.currentTarget in changeSlide method
  • Loading branch information
simeydotme committed Jan 31, 2016
2 parents c19f985 + a82b70b commit cb75829
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion slick/slick.js
Original file line number Diff line number Diff line change
Expand Up @@ -678,7 +678,7 @@
Slick.prototype.changeSlide = function(event, dontAnimate) {

var _ = this,
$target = $(event.target),
$target = $(event.currentTarget),
indexOffset, slideOffset, unevenOffset;

// If target is a link, prevent default action.
Expand Down

0 comments on commit cb75829

Please sign in to comment.