wandoledzep/bxslider — Issue #68: captions not working properly (possible fix included)
Author: jomarshall-petsafe
Created: 2011-12-15 14:39:50+00:00
State: open

I'm using bxslider and jquery 1.7.1. Line 1069 of the source does not return the title attribute as expected. I'm not 100% sure why that line is using an 'img' selector, but I believe it is verifying that the element returned from $children.eq(currentSlide) is indeed an image. For whatever reason, in my implementation it does not work. Changing that line from

var caption=$('img',$children.eq(currentSlide)).attr('title');

to

var caption = $children.eq(currentSlide).attr('title');

did the trick.