mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-19 22:58:07 +02:00
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);
|
||||
}
|
||||
|
||||
if ('_loadingInterval' in thumbsView) {
|
||||
clearInterval(thumbsView._loadingInterval);
|
||||
}
|
||||
|
||||
var container = document.getElementById('viewer');
|
||||
while (container.hasChildNodes()) {
|
||||
container.removeChild(container.lastChild);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue