mirror of
https://github.com/moparisthebest/mail
synced 2025-01-30 22:50:17 -05:00
Fix validation buf in read.js
This commit is contained in:
parent
04ed3dab68
commit
ceb1d2a69c
@ -216,7 +216,7 @@ define(function(require) {
|
||||
|
||||
function displayText(body) {
|
||||
var mail = scope.state.mailList.selected;
|
||||
if (mail.html || (mail.encrypted && !mail.decrypted)) {
|
||||
if ((mail && mail.html) || (mail && mail.encrypted && !mail.decrypted)) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user