diff --git a/src/Images/Gallery.coffee b/src/Images/Gallery.coffee index ffaa98226..46d2a1e3c 100644 --- a/src/Images/Gallery.coffee +++ b/src/Images/Gallery.coffee @@ -123,6 +123,10 @@ Gallery = thumbImg = post.file.thumb.cloneNode false thumbImg.style.cssText = '' + if thumbImg.dataset.src + thumbImg.src = thumbImg.dataset.src + # XXX https://bugzilla.mozilla.org/show_bug.cgi?id=1021289 + thumbImg.removeAttribute 'data-src' $.add thumb, thumbImg $.on thumb, 'click', Gallery.cb.open