Bug : filter_list does not filter simple list

This commit is contained in:
Dany De Bontridder 2020-02-09 19:08:42 +01:00
parent b9fd0bbe87
commit 4bf4a2826a

View file

@ -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;