#67 Fixed copy paste bug
But still doesn´t work correct in all cases I guess
This commit is contained in:
parent
f6c7be3e51
commit
cce1fac142
1 changed files with 4 additions and 2 deletions
|
@ -19,8 +19,10 @@ function addListHorizontalSeparators(node) {
|
||||||
}
|
}
|
||||||
|
|
||||||
// are we target tag?
|
// are we target tag?
|
||||||
if (node.tagName === targetTagName && typeof element.nextSibling !== "undefined") {
|
if (node.tagName === targetTagName) {
|
||||||
updateFunc(node);
|
if (typeof node.nextSibling !== "undefined") {
|
||||||
|
updateFunc(node);
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
// find items -> all
|
// find items -> all
|
||||||
let requestItems = node.querySelectorAll('md-list-item:not(:last-child)');
|
let requestItems = node.querySelectorAll('md-list-item:not(:last-child)');
|
||||||
|
|
Loading…
Add table
Reference in a new issue