From 322023ed0974d6af3106b45406bcf17942b99b88 Mon Sep 17 00:00:00 2001 From: Joseph Cheung Date: Mon, 6 Mar 2023 00:59:19 +0800 Subject: [PATCH] c --- searx/webapp.py | 2 +- searx/webapp1.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/searx/webapp.py b/searx/webapp.py index 060f60d4e..9d473a383 100755 --- a/searx/webapp.py +++ b/searx/webapp.py @@ -1292,7 +1292,7 @@ function modal_open(url, num) { if(lock_chat==1) return; prev_chat = document.getElementById('chat_talk').innerHTML; - if(num == 'pdf') { document.getElementById('chat_talk').innerHTML = prev_chat+'
'+'打开链接'+''+ PDF +''+"
";} + if(num == 'pdf') { document.getElementById('chat_talk').innerHTML = prev_chat+'
'+'打开链接'+''+ 'PDF' +''+"
";} else{ document.getElementById('chat_talk').innerHTML = prev_chat+'
'+'打开链接'+''+ String(num) +''+"
";} modal.style.display = 'block'; document.querySelector("#readability-reader").innerHTML = ''; diff --git a/searx/webapp1.py b/searx/webapp1.py index 060f60d4e..9d473a383 100644 --- a/searx/webapp1.py +++ b/searx/webapp1.py @@ -1292,7 +1292,7 @@ function modal_open(url, num) { if(lock_chat==1) return; prev_chat = document.getElementById('chat_talk').innerHTML; - if(num == 'pdf') { document.getElementById('chat_talk').innerHTML = prev_chat+'
'+'打开链接'+''+ PDF +''+"
";} + if(num == 'pdf') { document.getElementById('chat_talk').innerHTML = prev_chat+'
'+'打开链接'+''+ 'PDF' +''+"
";} else{ document.getElementById('chat_talk').innerHTML = prev_chat+'
'+'打开链接'+''+ String(num) +''+"
";} modal.style.display = 'block'; document.querySelector("#readability-reader").innerHTML = '';