Remove old unused code from PDFView.close()
This commit is contained in:
parent
a353f88e6b
commit
4737e1ad8d
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user