Remove old unused code from PDFView.close()

This commit is contained in:
Jonas Jenwald 2014-08-10 16:50:21 +02:00
parent a353f88e6b
commit 4737e1ad8d

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);