Et2UrlEmail: Fix click to add to email button was broken

This commit is contained in:
nathan 2023-02-17 08:51:27 -07:00
parent cebe21cc2d
commit 9cc1f08d63

View File

@ -43,7 +43,7 @@ export class Et2UrlEmail extends Et2InvokerMixin(Et2Textbox)
this._invokerTitle = 'Compose mail to'; this._invokerTitle = 'Compose mail to';
this._invokerAction = () => this._invokerAction = () =>
{ {
if (!this._isEmpty() && !this.hasFeedbackFor.length) if(this.value.length > 0 && !this.hasFeedbackFor.length)
{ {
Et2UrlEmail.action(this.value); Et2UrlEmail.action(this.value);
} }