Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove the temporary "visibilitychange" listener, in
PDFViewer
, wit…
…h `AbortSignal.any()` This is similar to a lot of other code, where we've been replacing explicit `removeEventListener`-calls. Given the somewhat limited availability of `AbortSignal.any()`, see [MDN](https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal/any_static#browser_compatibility), this event listener will no longer be immediately removed in older browsers (however that should be fine).
- Loading branch information