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:
authorTim Zallmann <tzallmann@gitlab.com>2017-09-28 09:33:26 +0300
committerTim Zallmann <tzallmann@gitlab.com>2017-09-28 09:33:26 +0300
commit11c8b8bc3c2294ef2e3a33196619f6e61f1e8d82 (patch)
tree3ad7a42fb5b449d8c9edddee3b3bf22057eb429d /app/assets/javascripts
parent3d27d157ed1e2e13056b97862cfe8242ea6e5a1f (diff)
parentd2f96827b098bebedc41f0d4be86e44fd2ef3a56 (diff)
Merge branch 'rotated_profile_image' into 'master'
Check orientation of profile image See merge request gitlab-org/gitlab-ce!14461
Diffstat (limited to 'app/assets/javascripts')
-rw-r--r--app/assets/javascripts/profile/gl_crop.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/assets/javascripts/profile/gl_crop.js b/app/assets/javascripts/profile/gl_crop.js
index 291ae24aa68..4bdda611cfc 100644
--- a/app/assets/javascripts/profile/gl_crop.js
+++ b/app/assets/javascripts/profile/gl_crop.js
@@ -73,7 +73,8 @@ import _ from 'underscore';
aspectRatio: 1,
modal: true,
scalable: false,
- rotatable: false,
+ rotatable: true,
+ checkOrientation: true,
zoomable: true,
dragMode: 'move',
guides: false,