Fallback for browsers that disables javascript

Conflicts:
	stylesheets/style.css
	templates/post_form.html
This commit is contained in:
marktaiwan 2015-03-18 18:44:47 +08:00 committed by czaks
parent d7f82c58fd
commit 3bd7f94861
3 changed files with 91 additions and 1 deletions

View file

@ -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');