Merge pull request #5166 from Snuffleupagus/pdfViewClose-cleanup

Remove old unused code from PDFView.close()
This commit is contained in:
Tim van der Meij 2014-08-10 22:49:04 +02:00
commit 0e4d9061b2

View File

@ -612,10 +612,6 @@ var PDFView = {
thumbsView.removeChild(thumbsView.lastChild);
}
if ('_loadingInterval' in thumbsView) {
clearInterval(thumbsView._loadingInterval);
}
var container = document.getElementById('viewer');
while (container.hasChildNodes()) {
container.removeChild(container.lastChild);