diff --git a/src/www/js/support.js b/src/www/js/support.js index 9913aa5e3..e8b7e7878 100644 --- a/src/www/js/support.js +++ b/src/www/js/support.js @@ -238,6 +238,10 @@ function appendChildren(el,ds) { return el; } +function replaceNode(el,ref) { + ref.parentNode.replaceChild(el,ref) +} + function insertFirst(parent,child) { parent.insertBefore(child,parent.firstChild); }