mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-10 02:05:37 +02:00
Add a reset
method to PDFFindbar
, and use it to clear parts of the find UI when the document is closed
This commit is contained in:
parent
e7d039dbce
commit
c7a44391cf
2 changed files with 5 additions and 0 deletions
|
@ -527,6 +527,7 @@ var PDFViewerApplication = {
|
|||
}
|
||||
|
||||
this.findController.reset();
|
||||
this.findBar.reset();
|
||||
|
||||
if (typeof PDFBug !== 'undefined') {
|
||||
PDFBug.cleanup();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue