mirror of
https://github.com/moparisthebest/mail
synced 2024-11-24 18:02:15 -05:00
Reset width before decription
This commit is contained in:
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…
Reference in New Issue
Block a user