diff --git a/html/js/scripts.js b/html/js/scripts.js index 734d0554a..abfd5f869 100644 --- a/html/js/scripts.js +++ b/html/js/scripts.js @@ -2181,6 +2181,9 @@ function filter_list(phrase, _id) { for (var r = 0; r < l_list.childNodes.length; r++) { var found = 0; + if (l_list.childNodes[r].nodeType != 1 ){ + continue; + } if (l_list.childNodes[r].childElementCount == 0) { ele = l_list.childNodes[r].innerHTML;