Pascal Gloor hace 5 años
padre
commit
db1b89eb8d
Se han modificado 1 ficheros con 3 adiciones y 8 borrados
  1. 3
    8
      www/js/autodoc.js

+ 3
- 8
www/js/autodoc.js Ver fichero

@@ -64,11 +64,13 @@ function isvisible(obj) {
}

function page_load_home() {

document_load(0);
}

function document_load(page) {
if (!page) {
$('#autodoc_home_body').html('');
page = 0;
}

@@ -123,14 +125,7 @@ function document_load(page) {
}
);
// continue to load until out of browser.
var obj = $("#autodoc_home_body")
.children()
.last();
console.log($('#autodoc_home_body'));
console.log($('#autodoc_home_body').children());
console.log($('#autodoc_home_body').find('.autodoc_template_home_row').last());

if (isvisible(obj)) {
if (isvisible($(".autodoc_template_home_col").last())) {
document_load(page + 1);
}
}

Cargando…
Cancelar
Guardar