Bug : filter_list does not filter simple list
This commit is contained in:
parent
b9fd0bbe87
commit
4bf4a2826a
1 changed files with 3 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue