Commit d7a7e2ce60b5d51c358c832a45956f00b1ca8b19
1 parent
be717cf7
Exists in
master
and in
2 other branches
Changed crop news js, modified aspect ratio
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
amadeus/static/js/crop_news.js
@@ -19,7 +19,7 @@ $(function () { | @@ -19,7 +19,7 @@ $(function () { | ||
19 | $("#modalCrop").on("shown.bs.modal", function () { | 19 | $("#modalCrop").on("shown.bs.modal", function () { |
20 | $image.cropper({ | 20 | $image.cropper({ |
21 | viewMode: 1 , | 21 | viewMode: 1 , |
22 | - aspectRatio: 7/2, | 22 | + aspectRatio: 24/5, |
23 | minCropBoxWidth: 200, | 23 | minCropBoxWidth: 200, |
24 | minCropBoxHeight: 200, | 24 | minCropBoxHeight: 200, |
25 | dragMode: 'move', | 25 | dragMode: 'move', |