summaryrefslogtreecommitdiff
path: root/app/views/projects/blob/viewers
diff options
context:
space:
mode:
authorTim Zallmann <tzallmann@gitlab.com>2017-07-24 17:36:52 +0000
committerJacob Schatz <jschatz@gitlab.com>2017-07-24 17:36:52 +0000
commit52b8a0db689c2df968776a1f369ea6a6db245d39 (patch)
tree4955f45d5d19c1d32aee8bc496041acdd74763cb /app/views/projects/blob/viewers
parent3a26bce80eb739ca3f552dfe71e39b9a177eb36e (diff)
downloadgitlab-ce-52b8a0db689c2df968776a1f369ea6a6db245d39.tar.gz
Resolve "Lazy load images on the Frontend"
Diffstat (limited to 'app/views/projects/blob/viewers')
-rw-r--r--app/views/projects/blob/viewers/_image.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/blob/viewers/_image.html.haml b/app/views/projects/blob/viewers/_image.html.haml
index 640d59b3174..1650aa8197f 100644
--- a/app/views/projects/blob/viewers/_image.html.haml
+++ b/app/views/projects/blob/viewers/_image.html.haml
@@ -1,2 +1,2 @@
.file-content.image_file
- %img{ src: blob_raw_url, alt: viewer.blob.name }
+ %img{ 'data-src': blob_raw_url, alt: viewer.blob.name }