Delete, and clear, the image in PDFThumbnailView_reset

*Follow-up to PR 6299.*
This commit is contained in:
Jonas Jenwald 2015-09-11 13:42:10 +02:00
parent 555c7925a0
commit d7a90d83de

View File

@ -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) {