Browse Source

bigger thumbnails

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

+ 1
- 1
www/js/autodoc.js View File

for (var i = 0; i < doc.pageId.length; i++) { for (var i = 0; i < doc.pageId.length; i++) {
var item = $('.autodoc_document_template_carousel').children().clone(); var item = $('.autodoc_document_template_carousel').children().clone();
$(item).children('img').attr('data-lazy', $(item).children('img').attr('data-lazy',
conf.openapi + "/pages/" + doc.pageId[i] + "/image?maxWidth=100");
conf.openapi + "/pages/" + doc.pageId[i] + "/image?maxWidth=200");


$(item).children('span').html(i); $(item).children('span').html(i);
console.log(item); console.log(item);

Loading…
Cancel
Save