Using just data-id and data-class are rather limiting. Please add support for data-selector, so we can build our own jQuery selector for the target el.
jquery.joyride-2.1.js, Line 400 change to
var cl = settings.$li.attr('data-class'),
id = settings.$li.attr('data-id'),
selector = settings.$li.attr("data-selector"),
$sel = function () {
if (selector) {
return $( selector );
} else if (id) {
return $(settings.document.getElementById(id));
} else if (cl) {
return $('.' + cl).filter(":visible").first();
} else {
return $('body');
}
};
Using just
data-id
anddata-class
are rather limiting. Please add support fordata-selector
, so we can build our own jQuery selector for the target el.jquery.joyride-2.1.js, Line 400 change to