mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-21 15:48:06 +02:00
Remove an obsolete comment for onAfterDraw
in pdf_viewer.js
With the viewer code now being split into various components/files, having an obsolete comment in `PDFViewer` that references thumbnails despite there being no other mentions of them in the entire file seems strange. *Note:* This comment is simply a left-over from older versions of PDF.js, where the *entire* default viewer code was placed in just one file (and where we unconditionally created thumbnails, regardless whether they were visible or not).
This commit is contained in:
parent
ca81f4df18
commit
31cd23a6df
1 changed files with 0 additions and 1 deletions
|
@ -323,7 +323,6 @@ var PDFViewer = (function pdfViewer() {
|
|||
// rendering.
|
||||
self._buffer.push(this);
|
||||
};
|
||||
// when page is painted, using the image as thumbnail base
|
||||
pageView.onAfterDraw = function pdfViewLoadOnAfterDraw() {
|
||||
if (!isOnePageRenderedResolved) {
|
||||
isOnePageRenderedResolved = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue