mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-03-18 02:41:14 +08:00
Fix step drag/drop file [SCI-7123]
This commit is contained in:
parent
8744286d98
commit
3e539adbde
1 changed files with 1 additions and 1 deletions
|
@ -254,7 +254,7 @@
|
|||
},
|
||||
methods: {
|
||||
dragEnter(e) {
|
||||
if (this.showFileModal || !urls.upload_attachment_url) return;
|
||||
if (this.showFileModal || !this.urls.upload_attachment_url) return;
|
||||
|
||||
// Detect if dragged element is a file
|
||||
// https://stackoverflow.com/a/8494918
|
||||
|
|
Loading…
Add table
Reference in a new issue