Browse Source

better unslick

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

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

$.getJSON( $.getJSON(
conf.openapi + "/documents/" + docid, conf.openapi + "/documents/" + docid,
function (doc) { function (doc) {
// $('.autodoc_document_carousel').slick('unslick');
if ( $('.slick-slide') ) {
$('.autodoc_document_carousel').slick('unslick');
}
$('.autodoc_document_carousel').children().remove(); $('.autodoc_document_carousel').children().remove();


for (var i = 0; i < doc.pageId.length; i++) { for (var i = 0; i < doc.pageId.length; i++) {

Loading…
Cancel
Save