Commit b7a230c9cdd43a7d682e6c6f1d1bdcd722e6b492
1 parent
4469a39a
Exists in
master
and in
2 other branches
Updated crop news js
Showing
1 changed file
with
2 additions
and
3 deletions
Show diff stats
amadeus/static/js/crop_news.js
... | ... | @@ -14,14 +14,13 @@ $(function () { |
14 | 14 | |
15 | 15 | /* Scripts da caixa de corte da imagem */ |
16 | 16 | var $image = $("#image"); |
17 | - var cropBoxData = {"width":700,"height":200}; | |
17 | + var cropBoxData; | |
18 | 18 | var canvasData; |
19 | 19 | $("#modalCrop").on("shown.bs.modal", function () { |
20 | 20 | $image.cropper({ |
21 | - cropBoxResizable: false, | |
22 | 21 | viewMode: 1 , |
23 | 22 | aspectRatio: 7/2, |
24 | - minCropBoxWidth: 700, | |
23 | + minCropBoxWidth: 200, | |
25 | 24 | minCropBoxHeight: 200, |
26 | 25 | dragMode: 'move', |
27 | 26 | ready: function () { | ... | ... |