Fix only the first instance of schema was rendered (fixes #150)

This commit is contained in:
Roman Hotsiy 2016-12-02 12:02:40 +02:00
parent f8df377d56
commit 7d9503d67d
No known key found for this signature in database
GPG Key ID: 5CB7B3ACABA57CB0

View File

@ -67,7 +67,7 @@ export class JsonSchemaLazy implements OnDestroy, AfterViewInit {
this._loadAfterSelf();
return;
}
//insertAfter($element.cloneNode(true), this.elementRef.nativeElement);
insertAfter($element.cloneNode(true), this.elementRef.nativeElement);
this.loaded = true;
} else {
cache[this.pointer] = this._loadAfterSelf();