From 2aa29da0ddb086f96bd80d8dcbdb8032fdb4040c Mon Sep 17 00:00:00 2001 From: lowercasedonkey <lowercasedonkey@gmail.com> Date: Wed, 21 Oct 2020 22:26:00 -0400 Subject: [PATCH] move to doc frag --- src/facilities/incubator/incubatorInteract.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/facilities/incubator/incubatorInteract.js b/src/facilities/incubator/incubatorInteract.js index 54ff1d4c5c9..76553d603cf 100644 --- a/src/facilities/incubator/incubatorInteract.js +++ b/src/facilities/incubator/incubatorInteract.js @@ -436,10 +436,10 @@ App.UI.incubator = function() { } /** - * @returns {HTMLElement} + * @returns {DocumentFragment} */ function sortingBarFunc(sortingOptions) { - const el = document.createElement("span"); + const el = new DocumentFragment(); App.UI.DOM.appendNewElement("span", el, "Sorting: ", "note"); const linkArray = []; for (const [title, func] of sortingOptions) { -- GitLab