Compare commits

...

2 Commits

Author SHA1 Message Date
f4fe73486d anime-downloader bug fix 12. 2022-04-07 00:11:44 +09:00
c65c68193d anime-downloader bug fix 11. 2022-04-06 23:58:57 +09:00

View File

@@ -21,6 +21,7 @@
}) })
$(document).ready(function(){ $(document).ready(function(){
console.log(params.code)
if (params.code === '') { if (params.code === '') {
} else { } else {
@@ -28,8 +29,12 @@
{#document.getElementById("analysis_btn").click();#} {#document.getElementById("analysis_btn").click();#}
} }
if ( "{{arg['ohli24_current_code']}}" !== "" ) { if ( "{{arg['ohli24_current_code']}}" !== "") {
document.getElementById("code").value = "{{arg['ohli24_current_code']}}"; if (params.code === null && params.code === '') {
document.getElementById("code").value = "{{arg['ohli24_current_code']}}";
} else {
document.getElementById("code").value = params.code
}
// 값이 공백이 아니면 분석 버튼 계속 누름 // 값이 공백이 아니면 분석 버튼 계속 누름
{#document.getElementById("analysis_btn").click();#} {#document.getElementById("analysis_btn").click();#}
} }