This commit is contained in:
Joseph Cheung 2023-03-06 11:58:27 +08:00
parent 2123f49bcf
commit 25fcb6bc0f
2 changed files with 214 additions and 206 deletions

View file

@ -1291,7 +1291,7 @@ let sentences=[]
function modal_open(url, num)
{
if(lock_chat==1) return;
let article;
prev_chat = document.getElementById('chat_talk').innerHTML;
if(num == 'pdf') { document.getElementById('chat_talk').innerHTML = prev_chat+'<div class="chat_question">'+'打开链接'+'<a class="footnote">'+ 'PDF' +'</a>'+"</div>";}
else{ document.getElementById('chat_talk').innerHTML = prev_chat+'<div class="chat_question">'+'打开链接'+'<a class="footnote">'+ String(num) +'</a>'+"</div>";}
@ -1507,7 +1507,6 @@ function modal_open(url, num)
resolve("success");
}
})
}).then(
() => {
fulltext = article.textContent;
@ -1614,6 +1613,11 @@ function modal_open(url, num)
},
error => {
console.log(error);
}
);
},
error => {
console.log(error);

View file

@ -1291,7 +1291,7 @@ let sentences=[]
function modal_open(url, num)
{
if(lock_chat==1) return;
let article;
prev_chat = document.getElementById('chat_talk').innerHTML;
if(num == 'pdf') { document.getElementById('chat_talk').innerHTML = prev_chat+'<div class="chat_question">'+'打开链接'+'<a class="footnote">'+ 'PDF' +'</a>'+"</div>";}
else{ document.getElementById('chat_talk').innerHTML = prev_chat+'<div class="chat_question">'+'打开链接'+'<a class="footnote">'+ String(num) +'</a>'+"</div>";}
@ -1507,7 +1507,6 @@ function modal_open(url, num)
resolve("success");
}
})
}).then(
() => {
fulltext = article.textContent;
@ -1614,6 +1613,11 @@ function modal_open(url, num)
},
error => {
console.log(error);
}
);
},
error => {
console.log(error);