From 8fc336c5ca575303a8c5b87e2b090f3cf4d434bc Mon Sep 17 00:00:00 2001 From: Joseph Cheung Date: Mon, 6 Mar 2023 10:47:32 +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 3bb877c62..7b790e200 100755 --- a/searx/webapp.py +++ b/searx/webapp.py @@ -2078,7 +2078,7 @@ function send_chat(elem) { pdf_url = word.match(regexpdf)[0]; modal_open("/static/themes/magi/pdfjs/index.html?file=" + encodeURIComponent(pdf_url),"pdf") - + return; } diff --git a/searx/webapp1.py b/searx/webapp1.py index 3bb877c62..7b790e200 100644 --- a/searx/webapp1.py +++ b/searx/webapp1.py @@ -2078,7 +2078,7 @@ function send_chat(elem) { pdf_url = word.match(regexpdf)[0]; modal_open("/static/themes/magi/pdfjs/index.html?file=" + encodeURIComponent(pdf_url),"pdf") - + return; }