Load image data for all images

This commit is contained in:
Daniel Kesselberg 2020-04-25 21:52:03 +02:00
parent ad9d153d76
commit a3ca42eebe

View file

@ -743,7 +743,7 @@ class MessageModel extends AbstractModel {
showLazyExternalImagesInBody() {
if (this.body) {
$('.lazy.lazy-inited[data-original]', this.body).each(function() {
$('.lazy[data-original]', this.body).each(function() {
$(this)
.attr('src', $(this).attr('data-original')) // eslint-disable-line no-invalid-this
.removeAttr('data-original')