mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-22 16:18:08 +02:00
Cleanup: remove iframe and message handler
This commit is contained in:
parent
3c1d63055d
commit
8459fef6c3
1 changed files with 3 additions and 0 deletions
|
@ -566,6 +566,9 @@ var FontLoader = {
|
|||
font.loading = false;
|
||||
}
|
||||
request.complete();
|
||||
// cleanup
|
||||
document.body.removeChild(frame);
|
||||
window.removeEventListener('message', fontLoaderMessage, false);
|
||||
},
|
||||
false);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue