@@ -263,16 +263,14 @@ function page_load_document(args) { | |||
$(item).children('img').attr('data-lazy', | |||
conf.openapi + "/pages/" + doc.pageId[i] + "/image?maxWidth=200"); | |||
$(item).children('span').html(i); | |||
console.log(item); | |||
$(item).children('span').html(i+1); | |||
$('.autodoc_document_carousel').append(item); | |||
} | |||
$('.autodoc_document_carousel').slick({ | |||
lazyLoad: 'ondemand', | |||
slidesToShow: 4, | |||
slidesToScroll: 4, | |||
centerMode: true | |||
slidesToScroll: 4 | |||
}); | |||
} |