forked from extern/egroupware
Fix error Cannot read properties of undefined (reading 'implements')
This commit is contained in:
parent
287f66c8ba
commit
ac4bd98385
@ -168,8 +168,8 @@ export class et2_hbox extends et2_baseWidget
|
||||
if (_sender != this && this.alignData.hasAlign)
|
||||
{
|
||||
// Check whether we've create a special container for the widget
|
||||
let align = (_sender.implements(et2_IAligned) ?
|
||||
_sender.get_align() : "left");
|
||||
let align = (_sender?.implements(et2_IAligned) ?
|
||||
_sender?.get_align() : "left");
|
||||
|
||||
if (align == "left" && this.leftDiv != null)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user