summaryrefslogtreecommitdiff
path: root/js/upload-selection.js
diff options
context:
space:
mode:
authorczaks <marcin@6irc.net>2015-03-31 06:50:05 +0200
committerczaks <marcin@6irc.net>2015-03-31 06:50:05 +0200
commit765dea599bd010bc00a3a40df58953b239ec0e9d (patch)
tree4da1c5760230aa4a85c5a24f9ce7832bc4ee41ce /js/upload-selection.js
parent6f94a0658603f3f39032655b3cebe738c2bced0d (diff)
trivial fixes to file-selector.js
Diffstat (limited to 'js/upload-selection.js')
-rw-r--r--js/upload-selection.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/js/upload-selection.js b/js/upload-selection.js
index e2032748..b342a134 100644
--- a/js/upload-selection.js
+++ b/js/upload-selection.js
@@ -25,6 +25,7 @@ $(function(){
$("#upload_url").hide();
$("#upload_embed").hide();
$(".add_image").hide();
+ $(".dropzone-wrap").hide();
$('[id^=upload_file]').each(function(i, v) {
$(v).val('');
@@ -40,6 +41,7 @@ $(function(){
enable_file = function() {
disable_all();
$("#upload").show();
+ $(".dropzone-wrap").show();
$(".file_separator").show();
$("[id^=upload_file]").show();
$(".add_image").show();