Skip to content

Commit

Permalink
Fixed 'object not supported' bug in IE6/7/8.
Browse files Browse the repository at this point in the history
  • Loading branch information
andygott committed May 18, 2011
1 parent 04be341 commit ed2abac
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions js/jquery.rs.slideshow.js
Expand Up @@ -323,7 +323,6 @@

var self = this;
$cntnr.children(options.slide_data_container).each(function() {
//var slide = $(self).rsfSlideshow('_findData', $(this), options.slide_data_selectors);
var slide = RssPrivateMethods._findData($(this), options.slide_data_selectors);
$(self).rsfSlideshow('addSlides', slide);
});
Expand Down Expand Up @@ -631,7 +630,7 @@
var slide_attr;
for (var key in slide_data_selectors) {
if (slide_data_selectors.hasOwnProperty(key)) {
var $slideDataClone = $.extend(true, {}, $slideData);
var $slideDataClone = $slideData.clone();
if (slide_data_selectors[key].selector) {
$slideDataClone = $slideDataClone.children(slide_data_selectors[key].selector);
}
Expand Down

0 comments on commit ed2abac

Please sign in to comment.