summaryrefslogtreecommitdiff
path: root/http/dealconvert.js
diff options
context:
space:
mode:
Diffstat (limited to 'http/dealconvert.js')
-rw-r--r--http/dealconvert.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/http/dealconvert.js b/http/dealconvert.js
index e038b58..2478fe9 100644
--- a/http/dealconvert.js
+++ b/http/dealconvert.js
@@ -7,6 +7,9 @@ $(document).ready(function() {
$('#submit-btn').attr('disabled', 'disabled');
}
});
+ $('#input-files').change(function() {
+ $('#submit-panel, #output-formats').collapse(this.files.length ? 'show' : 'hide');
+ });
$('#converter-input').submit(function() {
var that = $(this);
var output = [];