Merge pull request #5166 from Snuffleupagus/pdfViewClose-cleanup
Remove old unused code from PDFView.close()
This commit is contained in:
commit
0e4d9061b2
1 changed files with 0 additions and 4 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue