#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
|
@ -19,8 +19,10 @@ function addListHorizontalSeparators(node) {
|
|||
}
|
||||
|
||||
// are we target tag?
|
||||
if (node.tagName === targetTagName && typeof element.nextSibling !== "undefined") {
|
||||
if (node.tagName === targetTagName) {
|
||||
if (typeof node.nextSibling !== "undefined") {
|
||||
updateFunc(node);
|
||||
}
|
||||
} else {
|
||||
// find items -> all
|
||||
let requestItems = node.querySelectorAll('md-list-item:not(:last-child)');
|
||||
|
|
Loading…
Reference in a new issue