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+'
'+'打开链接'+''+"
";}
else{ document.getElementById('chat_talk').innerHTML = prev_chat+''+'打开链接'+''+"
";}
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+''+'打开链接'+''+"
";}
else{ document.getElementById('chat_talk').innerHTML = prev_chat+''+'打开链接'+''+"
";}