mirror of
https://github.com/mickael-kerjean/filestash
synced 2025-12-29 03:33:24 +01:00
fix (chrome80): support for older chrome
This commit is contained in:
parent
233f9c12fe
commit
3f303a4f57
1 changed files with 3 additions and 3 deletions
|
|
@ -1,6 +1,6 @@
|
|||
Document.prototype.replaceChildren ||= replaceChildren;
|
||||
DocumentFragment.prototype.replaceChildren ||= replaceChildren;
|
||||
Element.prototype.replaceChildren ||= replaceChildren;
|
||||
Document.prototype.replaceChildren = replaceChildren;
|
||||
DocumentFragment.prototype.replaceChildren = replaceChildren;
|
||||
Element.prototype.replaceChildren = replaceChildren;
|
||||
|
||||
function replaceChildren(...new_children) {
|
||||
const { childNodes } = this;
|
||||
|
|
|
|||
Loading…
Reference in a new issue