mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-06-28 14:55:48 +00:00
Bugfix: failed to set message data from dom
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user