Reset width before decription

master v0.26.3
Tankred Hase 8 years ago
parent e5e1c118be
commit 4cf1ef3107

@ -96,6 +96,8 @@ ngModule.directive('frameLoad', function($window) {
return;
}
resetWidth();
if (mail.encrypted && !mail.decrypted) {
// decrypt current mail
scope.decrypt(mail).then(function() {
@ -107,8 +109,6 @@ 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);

Loading…
Cancel
Save