From d2f96827b098bebedc41f0d4be86e44fd2ef3a56 Mon Sep 17 00:00:00 2001 From: Guilherme Vieira Date: Fri, 22 Sep 2017 22:26:00 -0300 Subject: Check orientation of profile image --- app/assets/javascripts/profile/gl_crop.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'app/assets/javascripts/profile/gl_crop.js') 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, -- cgit v1.2.1