mirror of
https://github.com/the-djmaze/snappymail.git
synced 2025-01-01 04:22:15 +08:00
Bugfix: failed to set message data from dom
This commit is contained in:
parent
ff2a557f1e
commit
2c40475bfa
2 changed files with 1 additions and 2 deletions
|
@ -476,7 +476,6 @@ class MessageModel extends AbstractModel {
|
|||
node.loading = 'lazy';
|
||||
}
|
||||
node.src = node.getAttribute(attr);
|
||||
node.removeAttribute('data-loaded');
|
||||
});
|
||||
|
||||
attr = this.externalProxy ? 'data-x-additional-style-url' : 'data-x-style-url';
|
||||
|
|
|
@ -494,8 +494,8 @@ class MessageUserStore {
|
|||
const textBody = document.getElementById(id);
|
||||
if (textBody) {
|
||||
textBody.rlCacheCount = ++iMessageBodyCacheCount;
|
||||
message.fetchDataFromDom();
|
||||
message.body = textBody;
|
||||
message.fetchDataFromDom();
|
||||
} else {
|
||||
let isHtml = false;
|
||||
if (json.Html) {
|
||||
|
|
Loading…
Reference in a new issue