mirror of
https://github.com/vichan-devel/vichan.git
synced 2024-11-24 23:50:11 +01:00
Fallback for browsers that disables javascript
This commit is contained in:
parent
ca7207c5dd
commit
6e35f12e3a
@ -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');
|
||||
|
@ -1182,9 +1182,6 @@ div.mix {
|
||||
width: 50px;
|
||||
}
|
||||
|
||||
input#upload_file {
|
||||
display: none;
|
||||
}
|
||||
/* File selector */
|
||||
.dropzone {
|
||||
color: #000;
|
||||
|
@ -91,7 +91,7 @@
|
||||
</th>
|
||||
<td>
|
||||
<input type="file" name="file" id="upload_file">
|
||||
<div class="dropzone-wrap">
|
||||
<div class="dropzone-wrap" style="display: none;">
|
||||
<div class="dropzone">
|
||||
<div class="file-hint">Select/drop/paste files here</div>
|
||||
<div class="file-thumbs"></div>
|
||||
|
Loading…
Reference in New Issue
Block a user