Browse Source

Fix to show images in FF

pull/65/head
Sebastian Stehle 9 years ago
parent
commit
b76b28a015
  1. 2
      src/Squidex/app/framework/angular/image-source.directive.ts

2
src/Squidex/app/framework/angular/image-source.directive.ts

@ -43,6 +43,8 @@ export class ImageSourceComponent implements OnChanges, OnInit, AfterViewInit {
} }
public ngOnInit() { public ngOnInit() {
this.renderer.setElementStyle(this.element.nativeElement, 'display', 'inline-block');
if (this.parent === null) { if (this.parent === null) {
this.parent = this.element.nativeElement.parentElement; this.parent = this.element.nativeElement.parentElement;
} }

Loading…
Cancel
Save