1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2026-01-03 23:42:28 +03:00

Mentions: Fixed some users not showing in mention selector

This commit is contained in:
Dan Brown
2025-12-21 18:33:50 +00:00
parent 382f4db276
commit 8aec571123

View File

@@ -74,7 +74,7 @@ function handleUserListLoading(selectList: HTMLElement) {
}
const doc = htmlToDom(responseHtml);
const toInsert = doc.body.children;
const toInsert = [...doc.body.children];
for (const listEl of toInsert) {
const adopted = window.document.adoptNode(listEl) as HTMLElement;
selectList.appendChild(adopted);