Skip to content

Commit

Permalink
Fix hidden delete button in image uploader for short images
Browse files Browse the repository at this point in the history
closes #6194
- removed min-height animation from image uploader
  • Loading branch information
kevinkucharczyk committed Dec 10, 2015
1 parent bbbcf4f commit ff2711a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion core/client/app/assets/lib/uploader.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ let UploadUi = function ($dropzone, settings) {
let animateDropzone = ($img) => {
$dropzone.animate({opacity: 0}, 250, () => {
$dropzone.removeClass('image-uploader').addClass('pre-image-uploader');
$dropzone.css({minHeight: 0});
this.removeExtras();
$dropzone.animate({height: $img.height()}, 250, () => {
showImage($img.width(), $img.height());
Expand Down

0 comments on commit ff2711a

Please sign in to comment.