summaryrefslogtreecommitdiff
path: root/app/views/projects/blob/viewers
diff options
context:
space:
mode:
authorTim Zallmann <tzallmann@gitlab.com>2017-07-26 13:13:52 +0200
committerTim Zallmann <tzallmann@gitlab.com>2017-07-27 15:01:27 +0200
commit14b9c83f41efeaa8f5468dcb81986d118e74d2d3 (patch)
tree259f6e84b0b0c2151b39c3d70a2edf37dd1ca927 /app/views/projects/blob/viewers
parent4eebd8e1957a3fc3a3479331fde9f34aa8afa9d5 (diff)
downloadgitlab-ce-14b9c83f41efeaa8f5468dcb81986d118e74d2d3.tar.gz
Added lazy class to Blob Images + Diffs
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 1650aa8197f..82c1239147c 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{ 'data-src': blob_raw_url, alt: viewer.blob.name }
+ %img.lazy{ 'data-src': blob_raw_url, alt: viewer.blob.name }