diff --git a/dev/Model/Message.js b/dev/Model/Message.js index bf148b4d7..c1107b546 100644 --- a/dev/Model/Message.js +++ b/dev/Model/Message.js @@ -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'; diff --git a/dev/Stores/User/Message.js b/dev/Stores/User/Message.js index 407afcced..906d856b3 100644 --- a/dev/Stores/User/Message.js +++ b/dev/Stores/User/Message.js @@ -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) {