mirror of
https://github.com/moparisthebest/mail
synced 2025-01-30 22:50:17 -05:00
parent
4cf1ef3107
commit
d87449c57f
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user