Pascal Gloor 7 лет назад
Родитель
Сommit
6ef8a9eb08
1 измененных файлов: 3 добавлений и 3 удалений
  1. 3
    3
      www/js/autodoc.js

+ 3
- 3
www/js/autodoc.js Просмотреть файл

conf.openapi + "/documents/" + docid, conf.openapi + "/documents/" + docid,
function(doc) { function(doc) {
for(var i=0; i<doc.pageId.length; i++) { 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");
} }
} }
) )

Загрузка…
Отмена
Сохранить