fix(core): update

This commit is contained in:
Philipp Kunz 2020-11-25 14:56:08 +00:00
parent 127564cd71
commit a613c0aca2

View File

@ -16,7 +16,7 @@ export class ElementInstrumenter {
elementArg.addEventListener('domtools-connected', addToConnectedElementsFunc);
elementArg.addEventListener('domtools-disconnected', removeFromConnectedElementsFunc);
if (!elementArg.parentElement) {
if (elementArg.parentElement) {
this.connectedElements.add(elementArg);
}
}