Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClement Ho <clemmakesapps@gmail.com>2017-09-13 01:21:22 +0300
committerJarka Kadlecova <jarka@gitlab.com>2017-09-14 15:59:31 +0300
commita18f488645eb493e91cb33bd7fad217956f1a4a4 (patch)
tree92e13719d162f9db97d6b5008baf678d8c22af4a
parentcc1e0bf314b8a0a9aeb01ff76101ec615e72dede (diff)
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.haml8
-rw-r--r--changelogs/unreleased/37730-image-onion-skin-does-not-work-anymore.yml5
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