diff --git a/src/webui/www/private/scripts/lib/vanillaSelectBox.js b/src/webui/www/private/scripts/lib/vanillaSelectBox.js index fc5ebf5c5..73e33703a 100644 --- a/src/webui/www/private/scripts/lib/vanillaSelectBox.js +++ b/src/webui/www/private/scripts/lib/vanillaSelectBox.js @@ -862,7 +862,7 @@ vanillaSelectBox.prototype.remoteSearchIntegrateIt = function (data) { let self = this; if (data == null || data.length == 0) return; while(self.root.firstChild) - self.root.firstChild.remove(); + self.root.removeChild(self.root.firstChild); self.buildSelect(data); self.reloadTree();