mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-19 17:14:57 +00:00
Fix dialog for firefox and safari
This commit is contained in:
parent
af760996d0
commit
a1a95cc963
@ -58,10 +58,10 @@ export class ActivitiPeople implements OnInit {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public showDialog() {
|
public showDialog() {
|
||||||
|
if (!this.dialog.nativeElement.showModal) {
|
||||||
|
dialogPolyfill.registerDialog(this.dialog.nativeElement);
|
||||||
|
}
|
||||||
if (this.dialog) {
|
if (this.dialog) {
|
||||||
if (!this.dialog.nativeElement.showModal) {
|
|
||||||
dialogPolyfill.registerDialog(this.dialog.nativeElement);
|
|
||||||
}
|
|
||||||
this.dialog.nativeElement.showModal();
|
this.dialog.nativeElement.showModal();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user