@@ -199,8 +199,7 @@ | |||
<div class="autodoc_document_template d-none"> | |||
<div class="autodoc_document_template_carousel"> | |||
<div class="text-center"> | |||
<img class="img-thumbnail rounded" /><br/> | |||
<span class="lead"></span> | |||
<img class="img-thumbnail rounded" /> | |||
</div> | |||
</div> | |||
</div> |
@@ -263,14 +263,15 @@ 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+1); | |||
$('.autodoc_document_carousel').append(item); | |||
} | |||
$('.autodoc_document_carousel').slick({ | |||
lazyLoad: 'ondemand', | |||
slidesToShow: 4, | |||
slidesToScroll: 4 | |||
slidesToScroll: 4, | |||
dots: true, | |||
infinite: true | |||
}); | |||
} |