Browse Source

Navigation trigger equality check was using wrong comparison.

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

4
responsiveslides.js

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

Loading…
Cancel
Save