viljamis/ResponsiveSlides.js — pull request #32 by jfilipe (2012-04-04 04:44:02+00:00)
Title: Broken navigation

Currently, the navigation will always cycle forward, even if the previous link was clicked.

This proposed change uses jQuery's [.is()](http://api.jquery.com/is/) filter. However it was only introduced in jQuery 1.6.

If you'd like to keep jQuery 1.4 as a dependency, you need to compare the raw DOM elements:

var index = $(this)[0] === $prev[0] ? prevIdx : nextIdx;