Skip to content

Commit

Permalink
Merge pull request #18302 from Snuffleupagus/testingClose-findbar-close
Browse files Browse the repository at this point in the history
Close `PDFFindBar` when closing the viewer during testing
  • Loading branch information
timvandermeij committed Jun 20, 2024
2 parents d09aed8 + 02c0315 commit 1cf19e9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions web/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -2112,6 +2112,7 @@ const PDFViewerApplication = {
*/
async testingClose() {
this.l10n?.pause();
this.findBar?.close();

this.unbindEvents();
this.unbindWindowEvents();
Expand Down

0 comments on commit 1cf19e9

Please sign in to comment.