mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
increase default pdfjs chunk size from 64K to 128K
This commit is contained in:
parent
aafdc794cd
commit
ab0bcd4f57
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ define [
|
|||
# PDFJS.disableStream
|
||||
# PDFJS.disableRange
|
||||
@scale = @options.scale || 1
|
||||
@pdfjs = PDFJS.getDocument @url
|
||||
@pdfjs = PDFJS.getDocument {url: @url, rangeChunkSize: 2*65536}
|
||||
@pdfjs.onProgress = @options.progressCallback
|
||||
@document = $q.when(@pdfjs)
|
||||
@navigateFn = @options.navigateFn
|
||||
|
|
Loading…
Reference in a new issue