mirror of
https://github.com/timvisee/send.git
synced 2026-04-18 21:54:11 -04:00
fixed download preview page render issues and links
This commit is contained in:
+1
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user