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; }