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