#67 Fixed copy paste bug

But still doesn´t work correct in all cases I guess
This commit is contained in:
Serraniel 2020-10-07 21:25:08 +02:00
parent f6c7be3e51
commit cce1fac142
Signed by: Serraniel
GPG key ID: 3690B4E7364525D3

View file

@ -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) {
if (typeof node.nextSibling !== "undefined") {
updateFunc(node); 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)');