diff --git a/assets/common.js/html.js b/assets/common.js/html.js index 4f6dbedd..39075521 100644 --- a/assets/common.js/html.js +++ b/assets/common.js/html.js @@ -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; };