HM-58. Добавлен новый тип логов client-logs (#21)
This commit is contained in:
@ -26,7 +26,9 @@ class Component extends EmitService {
|
||||
throw new Error(message);
|
||||
}
|
||||
this.mainNode = content.firstElementChild.cloneNode(true);
|
||||
parentNode.appendChild(this.mainNode);
|
||||
if (parentNode) {
|
||||
parentNode.appendChild(this.mainNode);
|
||||
}
|
||||
this._listeners = [];
|
||||
this._events = {};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user