This commit is contained in:
Joseph Cheung 2023-03-06 02:00:27 +08:00
parent 899d7cdb41
commit abedb9376d
2 changed files with 1244 additions and 2 deletions

File diff suppressed because one or more lines are too long

View file

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