mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
f8f971d208
commit
5fe9010e74
@ -479,6 +479,8 @@ class ReadUI:
|
|||||||
for fname in files_left:
|
for fname in files_left:
|
||||||
if fname is not raster_cover_name:
|
if fname is not raster_cover_name:
|
||||||
count += 1
|
count += 1
|
||||||
|
# Chrome starts killing AJAX requests if there are too many in flight, unlike Firefox
|
||||||
|
# which is smart enough to queue them
|
||||||
if count < 20:
|
if count < 20:
|
||||||
start_download(fname, base_path + encodeURIComponent(fname).replace(/%2[fF]/g, '/'))
|
start_download(fname, base_path + encodeURIComponent(fname).replace(/%2[fF]/g, '/'))
|
||||||
else:
|
else:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user