1
0
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:
Tankred Hase 2014-08-05 19:16:37 +02:00
parent 04ed3dab68
commit ceb1d2a69c

View File

@ -216,7 +216,7 @@ define(function(require) {
function displayText(body) { function displayText(body) {
var mail = scope.state.mailList.selected; var mail = scope.state.mailList.selected;
if (mail.html || (mail.encrypted && !mail.decrypted)) { if ((mail && mail.html) || (mail && mail.encrypted && !mail.decrypted)) {
return; return;
} }