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:
commit
3dccaccbb4
7 changed files with 10 additions and 14 deletions
|
@ -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 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue