forked from extern/egroupware
fix click eg. in mail on attachment as long as we have no blueimp/expose
This commit is contained in:
parent
3c4f85155d
commit
2f616281e0
@ -165,7 +165,7 @@ export class Et2Description extends Et2Widget(LitElement) implements et2_IDetach
|
||||
// call super to get the onclick handling running
|
||||
super._handleClick(_ev);
|
||||
|
||||
if(this.expose_view && typeof this.mime != 'undefined' && this.mime.match(this.mime_regexp, 'ig'))
|
||||
if(this.expose_view && typeof this.mime != 'undefined' && this.mime_regexp && this.mime.match(this.mime_regexp, 'ig'))
|
||||
{
|
||||
this._init_blueimp_gallery(_ev, this.href);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user