diff --git a/searx/webapp.py b/searx/webapp.py index cd85b4321..f9e7a9aaa 100755 --- a/searx/webapp.py +++ b/searx/webapp.py @@ -1212,7 +1212,1249 @@ const search_type = "''' + search_type + r'''" const net_search = ''' + net_search_str + r''' const add_system = ''' + add_system +r''' diff --git a/searx/webapp1.py b/searx/webapp1.py index 89c328858..f9e7a9aaa 100644 --- a/searx/webapp1.py +++ b/searx/webapp1.py @@ -1325,7 +1325,7 @@ function modal_open(url, num) let stopLoop = false; while (!stopLoop && iframe.contentWindow.PDFViewerApplication.pdfDocument==null) { - if (Date.now() - startTime > 30000) { + if (Date.now() - startTime > 120000) { stopLoop = true; } }