mirror of
https://github.com/searxng/searxng
synced 2024-01-01 19:24:07 +01:00
c
This commit is contained in:
parent
2123f49bcf
commit
25fcb6bc0f
2 changed files with 214 additions and 206 deletions
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue