summaryrefslogtreecommitdiff
path: root/app/views/projects/blob/viewers
diff options
context:
space:
mode:
authorTim Zallmann <tzallmann@gitlab.com>2017-07-27 11:23:34 +0200
committerTim Zallmann <tzallmann@gitlab.com>2017-07-27 15:01:27 +0200
commit710d0435f7c54801ff9efafc14a46095f3c83244 (patch)
treee8fac60cd034531393c0655901f46c8e88dc81b7 /app/views/projects/blob/viewers
parent14b9c83f41efeaa8f5468dcb81986d118e74d2d3 (diff)
downloadgitlab-ce-710d0435f7c54801ff9efafc14a46095f3c83244.tar.gz
Changed Images in Blob Viewer to image_tag35577-fix-image-blob-display-due-to-lazy-image-loading
Updated documentation about the lazy class
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 82c1239147c..5fd22a59217 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.lazy{ 'data-src': blob_raw_url, alt: viewer.blob.name }
+ = image_tag(blob_raw_url, alt: viewer.blob.name)