diff --git a/src/js/controller/read.js b/src/js/controller/read.js index 8245985..058ee7a 100644 --- a/src/js/controller/read.js +++ b/src/js/controller/read.js @@ -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; }