Browse Source

fixed

master
Pascal Gloor 5 years ago
parent
commit
abd22ff4df
1 changed files with 2 additions and 4 deletions
  1. 2
    4
      www/js/autodoc.js

+ 2
- 4
www/js/autodoc.js View File

@@ -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
});

}

Loading…
Cancel
Save