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);
|
thumbsView.removeChild(thumbsView.lastChild);
|
||||||
}
|
}
|
||||||
|
|
||||||
if ('_loadingInterval' in thumbsView) {
|
|
||||||
clearInterval(thumbsView._loadingInterval);
|
|
||||||
}
|
|
||||||
|
|
||||||
var container = document.getElementById('viewer');
|
var container = document.getElementById('viewer');
|
||||||
while (container.hasChildNodes()) {
|
while (container.hasChildNodes()) {
|
||||||
container.removeChild(container.lastChild);
|
container.removeChild(container.lastChild);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user