forked from malsup/cycle2
-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
Hi, this is so great you are keeping cycle2 alive!
I am having an issue when I destroy a slideshow.
I am trying to change the carousel visible count on different size screens:
var width = $(window).width(); // Checking size again after window resize
if ( width < 768 ) {
$('.carousel_logos').cycle( "destroy" );
$('.logo_block .carousel_logos').cycle({
carouselVisible : 2,
autoHeight : 0
});
}
I am then getting this error:
jQuery.Deferred exception: this.varType is not a function. (In 'this.varType( $._data )', 'this.varType' is undefined) (2)
line 990
var clean = (this.varType($._data) === 'function') ? $._data : $.noop;
Is this an issue? Or am I doing this wrong?
Thanks!
Metadata
Metadata
Assignees
Labels
No labels