mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-03 23:00:14 -05:00
Merge pull request #6204 from kevinkucharczyk/unable-to-remove-small-background-image
Fix hidden delete button in image uploader for short images
This commit is contained in:
commit
53cdb4398b
1 changed files with 0 additions and 1 deletions
|
@ -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());
|
||||
|
|
Loading…
Add table
Reference in a new issue