From 6bd2dea7bac5759036f1c0ae92e7bd9d0bda8440 Mon Sep 17 00:00:00 2001 From: Joseph Cheung Date: Wed, 1 Mar 2023 14:52:58 +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 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 = '';