mirror of
https://github.com/rr-/szurubooru.git
synced 2025-07-17 08:26:24 +00:00
client/views: fix complex templates
This commit is contained in:
@ -351,7 +351,7 @@ function replaceContent(target, source) {
|
||||
target.removeChild(target.lastChild);
|
||||
}
|
||||
if (source instanceof NodeList) {
|
||||
for (let child of source) {
|
||||
for (let child of Array.from(source)) {
|
||||
target.appendChild(child);
|
||||
}
|
||||
} else if (source instanceof Node) {
|
||||
|
Reference in New Issue
Block a user