Skip to content

Commit

Permalink
Disable template popup in mobile (#2995)
Browse files Browse the repository at this point in the history
* dont close template popup on window resize in mobile, #2985

we still need to make the popup layout suit mobile better

* Disable template popup in mobile, #2985

* disable template popup in mobile browsers
  • Loading branch information
johnbotris committed May 7, 2021
1 parent f1bdda9 commit 2cf8d85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mail/editor/MailEditor.js
Original file line number Diff line number Diff line change
Expand Up @@ -525,7 +525,7 @@ function createMailEditorDialog(model: SendMailModel, blockExternalContent: bool
}


const templatePopupModel = logins.isInternalUserLoggedIn()
const templatePopupModel = logins.isInternalUserLoggedIn() && client.isDesktopDevice()
? new TemplatePopupModel(locator.eventController, logins, locator.entityClient)
: null

Expand Down

0 comments on commit 2cf8d85

Please sign in to comment.