diff options
author | Clement Ho <clemmakesapps@gmail.com> | 2017-09-12 22:21:22 +0000 |
---|---|---|
committer | Jarka Kadlecova <jarka@gitlab.com> | 2017-09-14 14:59:31 +0200 |
commit | a18f488645eb493e91cb33bd7fad217956f1a4a4 (patch) | |
tree | 92e13719d162f9db97d6b5008baf678d8c22af4a | |
parent | cc1e0bf314b8a0a9aeb01ff76101ec615e72dede (diff) | |
download | gitlab-ce-a18f488645eb493e91cb33bd7fad217956f1a4a4.tar.gz |
Merge branch '37730-image-onion-skin-does-not-work-anymore' into 'master'
Resolve "Image onion skin + swipe does not work anymore"
Closes #37730 and #37732
See merge request !14215
-rw-r--r-- | app/views/projects/diffs/viewers/_image.html.haml | 8 | ||||
-rw-r--r-- | changelogs/unreleased/37730-image-onion-skin-does-not-work-anymore.yml | 5 |
2 files changed, 9 insertions, 4 deletions
diff --git a/app/views/projects/diffs/viewers/_image.html.haml b/app/views/projects/diffs/viewers/_image.html.haml index aa004a739d7..01879556894 100644 --- a/app/views/projects/diffs/viewers/_image.html.haml +++ b/app/views/projects/diffs/viewers/_image.html.haml @@ -41,10 +41,10 @@ .swipe.view.hide .swipe-frame .frame.deleted - = image_tag(old_blob_raw_path, alt: diff_file.old_path) + = image_tag(old_blob_raw_path, alt: diff_file.old_path, lazy: false) .swipe-wrap .frame.added - = image_tag(blob_raw_path, alt: diff_file.new_path) + = image_tag(blob_raw_path, alt: diff_file.new_path, lazy: false) %span.swipe-bar %span.top-handle %span.bottom-handle @@ -52,9 +52,9 @@ .onion-skin.view.hide .onion-skin-frame .frame.deleted - = image_tag(old_blob_raw_path, alt: diff_file.old_path) + = image_tag(old_blob_raw_path, alt: diff_file.old_path, lazy: false) .frame.added - = image_tag(blob_raw_path, alt: diff_file.new_path) + = image_tag(blob_raw_path, alt: diff_file.new_path, lazy: false) .controls .transparent .drag-track diff --git a/changelogs/unreleased/37730-image-onion-skin-does-not-work-anymore.yml b/changelogs/unreleased/37730-image-onion-skin-does-not-work-anymore.yml new file mode 100644 index 00000000000..7357c61b5f2 --- /dev/null +++ b/changelogs/unreleased/37730-image-onion-skin-does-not-work-anymore.yml @@ -0,0 +1,5 @@ +--- +title: Resolve Image onion skin + swipe does not work anymore +merge_request: +author: +type: fixed |