diff options
-rwxr-xr-x | apps/files_pdfviewer/js/viewer.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/files_pdfviewer/js/viewer.js b/apps/files_pdfviewer/js/viewer.js index 03288ebe420..7f6766c67dd 100755 --- a/apps/files_pdfviewer/js/viewer.js +++ b/apps/files_pdfviewer/js/viewer.js @@ -4,8 +4,10 @@ function hidePDFviewer() { $('#controls').html(showPDFviewer.oldcode); $("#viewer").remove(); $("#loading").remove() + $("#editor").show(); document.title = showPDFviewer.lastTitle; PDFView.active=false; + $('iframe').remove(); } function showPDFviewer(dir,filename){ |