diff --git a/client/js/util/views.js b/client/js/util/views.js index 2b39e7b1..15472db7 100644 --- a/client/js/util/views.js +++ b/client/js/util/views.js @@ -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) {