f
This commit is contained in:
parent
899d7cdb41
commit
abedb9376d
1244
searx/webapp.py
1244
searx/webapp.py
File diff suppressed because one or more lines are too long
@ -1325,7 +1325,7 @@ function modal_open(url, num)
|
|||||||
let stopLoop = false;
|
let stopLoop = false;
|
||||||
|
|
||||||
while (!stopLoop && iframe.contentWindow.PDFViewerApplication.pdfDocument==null) {
|
while (!stopLoop && iframe.contentWindow.PDFViewerApplication.pdfDocument==null) {
|
||||||
if (Date.now() - startTime > 30000) {
|
if (Date.now() - startTime > 120000) {
|
||||||
stopLoop = true;
|
stopLoop = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user