From 2123f49bcf420d3c680bd7e434ddd87241b6edde Mon Sep 17 00:00:00 2001 From: Joseph Cheung Date: Mon, 6 Mar 2023 11:52:05 +0800 Subject: [PATCH] c --- searx/webapp.py | 1 + searx/webapp1.py | 1 + 2 files changed, 2 insertions(+) diff --git a/searx/webapp.py b/searx/webapp.py index 487c9a5a4..3c246ab1a 100755 --- a/searx/webapp.py +++ b/searx/webapp.py @@ -1291,6 +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+'
'+'打开链接'+''+ 'PDF' +''+"
";} else{ document.getElementById('chat_talk').innerHTML = prev_chat+'
'+'打开链接'+''+ String(num) +''+"
";} diff --git a/searx/webapp1.py b/searx/webapp1.py index 487c9a5a4..3c246ab1a 100644 --- a/searx/webapp1.py +++ b/searx/webapp1.py @@ -1291,6 +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+'
'+'打开链接'+''+ 'PDF' +''+"
";} else{ document.getElementById('chat_talk').innerHTML = prev_chat+'
'+'打开链接'+''+ String(num) +''+"
";}