Browse Source

better

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

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

@@ -250,9 +250,9 @@ function page_load_document() {
conf.openapi + "/documents/" + docid,
function(doc) {
for(var i=0; i<doc.pageId.length; i++) {
var item = '<div><img src="" /></div>';
$(item).find('img').attr('src', conf.openapi + "/pages/" + doc.pageId[i] + "/image?maxWidth=100");
$('.autodoc_document_carousel').append(item);
$('.autodoc_document_carousel').append('<div><img /></div>');
$('.autodoc_document_carousel').children().last().children().attr('src',
conf.openapi + "/pages/" + doc.pageId[i] + "/image?maxWidth=100");
}
}
)

Loading…
Cancel
Save