aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/blueimp/jquery-file-upload/js
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/blueimp/jquery-file-upload/js')
-rw-r--r--vendor/blueimp/jquery-file-upload/js/jquery.fileupload-ui.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/vendor/blueimp/jquery-file-upload/js/jquery.fileupload-ui.js b/vendor/blueimp/jquery-file-upload/js/jquery.fileupload-ui.js
index 562708c6b..ff725cf14 100644
--- a/vendor/blueimp/jquery-file-upload/js/jquery.fileupload-ui.js
+++ b/vendor/blueimp/jquery-file-upload/js/jquery.fileupload-ui.js
@@ -54,6 +54,8 @@
// as the user clicks on the start buttons. To enable automatic
// uploads, set the following option to true:
autoUpload: false,
+ // The class to show/hide UI elements:
+ showElementClass: 'in',
// The ID of the upload template:
uploadTemplateId: 'template-upload',
// The ID of the download template:
@@ -614,9 +616,9 @@
};
node
.bind($.support.transition.end, transitionEndHandler)
- .toggleClass('in');
+ .toggleClass(this.options.showElementClass);
} else {
- node.toggleClass('in');
+ node.toggleClass(this.options.showElementClass);
dfd.resolveWith(node);
}
return dfd;