Revert "Reset width before decription"

This reverts commit 4cf1ef3107.
This commit is contained in:
Tankred Hase 2015-05-09 13:18:53 +02:00
parent 4cf1ef3107
commit d87449c57f
1 changed files with 2 additions and 2 deletions

View File

@ -96,8 +96,6 @@ ngModule.directive('frameLoad', function($window) {
return;
}
resetWidth();
if (mail.encrypted && !mail.decrypted) {
// decrypt current mail
scope.decrypt(mail).then(function() {
@ -109,6 +107,8 @@ ngModule.directive('frameLoad', function($window) {
return;
}
resetWidth();
if (mail.html) {
// if there are image tags in the html?
var hasImages = /<img[^>]+\bsrc=['"][^'">]+['"]/ig.test(mail.html);