Open clkdigital opened 7 years ago
same here
The following should help ...
// removing style attr immediately after destroy doesn't seem to work, using a delay helps
$(document).on('cycle-destroyed', '.cycle-slideshow', function(){
var slideshow = $(this);
setTimeout(function(){
slideshow.removeAttr('style');
}, 100);
});
The title explains it all really, when using data-cycle-auto-height="calc" the destroy function doesn't remove the sentinel .