anime-downloader bug fix 10.
This commit is contained in:
@@ -16,13 +16,25 @@
|
||||
const ohli24_url = "{{arg['ohli24_url']}}";
|
||||
let current_data = null;
|
||||
|
||||
const params = new Proxy(new URLSearchParams(window.location.search), {
|
||||
get: (searchParams, prop) => searchParams.get(prop),
|
||||
})
|
||||
|
||||
$(document).ready(function(){
|
||||
if ( "{{arg['ohli24_current_code']}}" !== "" ) {
|
||||
document.getElementById("code").value = "{{arg['ohli24_current_code']}}";
|
||||
// 값이 공백이 아니면 분석 버튼 계속 누름
|
||||
{#document.getElementById("analysis_btn").click();#}
|
||||
}
|
||||
if (params.code === '') {
|
||||
|
||||
} else {
|
||||
document.getElementById("code").value = params.code
|
||||
{#document.getElementById("analysis_btn").click();#}
|
||||
}
|
||||
|
||||
if ( "{{arg['ohli24_current_code']}}" !== "" ) {
|
||||
document.getElementById("code").value = "{{arg['ohli24_current_code']}}";
|
||||
// 값이 공백이 아니면 분석 버튼 계속 누름
|
||||
{#document.getElementById("analysis_btn").click();#}
|
||||
}
|
||||
|
||||
|
||||
|
||||
// 분석 버튼 클릭시 호출
|
||||
$("body").on('click', '#analysis_btn', function(e){
|
||||
|
||||
Reference in New Issue
Block a user