mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-19 22:58:07 +02:00
Delete, and clear, the image
in PDFThumbnailView_reset
*Follow-up to PR 6299.*
This commit is contained in:
parent
555c7925a0
commit
d7a90d83de
1 changed files with 4 additions and 0 deletions
|
@ -160,6 +160,10 @@ var PDFThumbnailView = (function PDFThumbnailViewClosure() {
|
|||
this.canvas.height = 0;
|
||||
delete this.canvas;
|
||||
}
|
||||
if (this.image) {
|
||||
this.image.removeAttribute('src');
|
||||
delete this.image;
|
||||
}
|
||||
},
|
||||
|
||||
update: function PDFThumbnailView_update(rotation) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue