Skip to content

Commit 4211798

Browse files
committed
using slideUp/slideDown animations
1 parent 4ce9a0f commit 4211798

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ajax_upload/static/ajax_upload/js/ajax-upload-widget.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@
123123
this.$previewArea.empty();
124124
this.$previewArea.append(this.generateFilePreview(filename));
125125

126-
this.$previewArea.show();
126+
this.$previewArea.slideDown();
127127
this.$changeButton.show();
128128
if(this.$element.data('required') === 'True') {
129129
this.$removeButton.hide();
@@ -132,7 +132,7 @@
132132
}
133133
this.$element.hide();
134134
} else {
135-
this.$previewArea.hide();
135+
this.$previewArea.slideUp();
136136
this.$changeButton.hide();
137137
this.$removeButton.hide();
138138
this.$element.show();

0 commit comments

Comments
 (0)