Adjusted fragment creation.
This commit is contained in:
parent
eb72573121
commit
55fca7b945
1 changed files with 1 additions and 1 deletions
|
@ -49,7 +49,7 @@ const $removeChildren = function(element) {
|
|||
};
|
||||
|
||||
const $fragment = function(props, ...children) {
|
||||
const fragment = new DocumentFragment(props);
|
||||
const fragment = document.createDocumentFragment();
|
||||
$appendChildren(fragment, ...children);
|
||||
return fragment;
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue