Made most things reachable with just a keyboard

This commit is contained in:
Marcin Kurczewski
2014-10-11 23:24:03 +02:00
parent 33b205b574
commit 765d553a84
10 changed files with 38 additions and 34 deletions

View File

@ -10,7 +10,7 @@ App.Controls.FileDropper = function($fileInput) {
setNames: false,
};
var $dropDiv = jQuery('<div class="file-handler"></div>');
var $dropDiv = jQuery('<button class="file-handler"></button>');
var allowMultiple = $fileInput.attr('multiple');
$dropDiv.html((allowMultiple ? 'Drop files here!' : 'Drop file here!') + '<br/>Or just click on this box.');
$dropDiv.insertBefore($fileInput);