fixed download preview page render issues and links
This commit is contained in:
parent
41a0c6c73f
commit
232911f725
5 changed files with 21 additions and 14 deletions
|
@ -6,7 +6,7 @@ export default function(state, emitter) {
|
|||
}
|
||||
});
|
||||
document.body.addEventListener('drop', event => {
|
||||
if (state.route === '/' && !state.transfer) {
|
||||
if (state.route === '/' && !state.uploading) {
|
||||
event.preventDefault();
|
||||
document.querySelector('.upload-window').classList.remove('ondrag');
|
||||
const target = event.dataTransfer;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue