1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-22 16:18:08 +02:00

Merge pull request #14278 from Snuffleupagus/rm-removeChild

Replace the remaining `Node.removeChild()` instances with `Element.remove()`
This commit is contained in:
Tim van der Meij 2021-11-17 20:17:55 +01:00 committed by GitHub
commit 3dccaccbb4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 10 additions and 14 deletions

View file

@ -350,7 +350,7 @@ if (typeof PDFJSDev !== "undefined" && PDFJSDev.test("MOZCENTRAL")) {
this._document.body.appendChild(div);
isFontReady(loadTestFontId, () => {
this._document.body.removeChild(div);
div.remove();
request.complete();
});
/** Hack end */