diff --git a/searx/webapp.py b/searx/webapp.py index 4040f80b4..3fc102ce6 100755 --- a/searx/webapp.py +++ b/searx/webapp.py @@ -1191,6 +1191,7 @@ function proxify() } function modal_open(url, num) { + prev_chat = document.getElementById('chat').innerHTML; document.getElementById('chat').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 4040f80b4..3fc102ce6 100644 --- a/searx/webapp1.py +++ b/searx/webapp1.py @@ -1191,6 +1191,7 @@ function proxify() } function modal_open(url, num) { + prev_chat = document.getElementById('chat').innerHTML; document.getElementById('chat').innerHTML = prev_chat+'
'+'打开链接'+''+ String(num) +''+"
"; modal.style.display = 'block'; document.querySelector("#readability-reader").innerHTML = '';