From 55fca7b9459459ed9175eb068c8743b859f95afd Mon Sep 17 00:00:00 2001 From: flashwave Date: Thu, 20 Feb 2025 18:21:36 +0000 Subject: [PATCH] Adjusted fragment creation. --- assets/common.js/html.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; };