Skip to content

Commit

Permalink
check is resizable is enable
Browse files Browse the repository at this point in the history
  • Loading branch information
anacona16 committed Feb 23, 2017
1 parent 929ac62 commit 5ff7adc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Resources/public/js/imagecrop.ui.crop.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ ImageCrop.cropUi = ImageCrop.cropUi || {};
ImageCrop.resizeMe = $('#resizeMe');
ImageCrop.cropUi.cropContainer = $('#image-crop-container');

if (ImageCrop.resizeMe.resizable) {
if (ImageCrop.resizeMe.resizable && ImageCrop.settings.resizable) {
ImageCrop.resizeMe.resizable({
containment: ImageCrop.cropUi.cropContainer,
aspectRatio: ImageCrop.settings.resizeAspectRatio,
Expand Down

0 comments on commit 5ff7adc

Please sign in to comment.