Browse Source

Merge pull request #5166 from Snuffleupagus/pdfViewClose-cleanup

Remove old unused code from PDFView.close()
Tim van der Meij 11 years ago
parent
commit
0e4d9061b2
  1. 4
      web/viewer.js

4
web/viewer.js

@ -612,10 +612,6 @@ var PDFView = { @@ -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…
Cancel
Save