forked from leftypol/leftypol
Fallback for browsers that disables javascript
Conflicts: stylesheets/style.css templates/post_form.html
This commit is contained in:
parent
d7f82c58fd
commit
3bd7f94861
3 changed files with 91 additions and 1 deletions
|
@ -140,7 +140,8 @@ var dropHandlers = {
|
|||
}
|
||||
};
|
||||
|
||||
$('.dropzone').css('user-select', 'none') // let jquery add browser specific prefix
|
||||
$('#upload input[type=file]').hide(); // hide the original file selector
|
||||
$('.dropzone-wrap').css('user-select', 'none').show(); // let jquery add browser specific prefix
|
||||
|
||||
// attach handlers
|
||||
$(document).on(dropHandlers, '.dropzone');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue