mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-19 22:58:07 +02:00
Merge pull request #18302 from Snuffleupagus/testingClose-findbar-close
Close `PDFFindBar` when closing the viewer during testing
This commit is contained in:
commit
1cf19e907d
1 changed files with 1 additions and 0 deletions
|
@ -2112,6 +2112,7 @@ const PDFViewerApplication = {
|
|||
*/
|
||||
async testingClose() {
|
||||
this.l10n?.pause();
|
||||
this.findBar?.close();
|
||||
|
||||
this.unbindEvents();
|
||||
this.unbindWindowEvents();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue