Merge pull request #5166 from Snuffleupagus/pdfViewClose-cleanup
Remove old unused code from PDFView.close()
This commit is contained in:
commit
0e4d9061b2
@ -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