fix TypeError in et2_dialog.handleClose because the Lion container was not found

This commit is contained in:
ralf 2023-08-16 14:15:52 +02:00
parent 5a78cfa475
commit fdad8b3e40

View File

@ -106,16 +106,6 @@ export class et2_dialog extends Et2Dialog
}
}
handleClose(ev : PointerEvent)
{
// revert the moved container back to its original position in order to be able to teardown the overlay properly
if(this.appendTo)
{
document.getElementsByClassName('global-overlays__overlay-container')[0].appendChild(this);
}
super.handleClose(ev);
}
/**
* @deprecated
* @returns {any}