anime-downloader bug fix 16.

lazy image loader
This commit is contained in:
2022-04-07 21:30:59 +09:00
parent 4d0e55b25f
commit b2d07abecb
2 changed files with 25 additions and 22 deletions

View File

@@ -80,9 +80,10 @@
if (current_screen_movie_data !== '') {
if (type === "ing") {
make_airing_list(ret.data, page)
setTimeout(() => {
// setTimeout(() => {
// observer.observe();
// }, 1000);
observer.observe();
}, 2000);
} else {
make_screen_movie_list(ret, page)
}

View File

@@ -33,11 +33,12 @@
if (params.code === null || params.code === '') {
document.getElementById("code").value = "{{arg['ohli24_current_code']}}";
} else {
console.log('params code exist')
document.getElementById("code").value = params.code
{#document.getElementById("analysis_btn").click();#}
document.getElementById("analysis_btn").click();
}
// 값이 공백이 아니면 분석 버튼 계속 누름
{#document.getElementById("analysis_btn").click();#}
// {#document.getElementById("analysis_btn").click();#}
}
@@ -63,6 +64,7 @@
}
}
});
});
function make_program(data) {
current_data = data;
@@ -162,7 +164,7 @@
}
}
});
});
});
});