fix(core): update
This commit is contained in:
parent
127564cd71
commit
a613c0aca2
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user