Browse Source

jQuery 1.4 compatible navigation trigger fix.

pull/32/head
Jason Filipe 13 years ago
parent
commit
17febf0820
  1. 4
      responsiveslides.js

4
responsiveslides.js

@ -245,9 +245,9 @@
nextIdx = idx + 1 < length ? index + 1 : 0; nextIdx = idx + 1 < length ? index + 1 : 0;
// Go to slide // Go to slide
slideTo($(this).is($prev) ? prevIdx : nextIdx); slideTo($(this)[0] === $prev[0] ? prevIdx : nextIdx);
if (settings.pager === true) { if (settings.pager === true) {
selectTab($(this).is($prev) ? prevIdx : nextIdx); selectTab($(this)[0] === $prev[0] ? prevIdx : nextIdx);
} }
restartCycle(); restartCycle();

Loading…
Cancel
Save