mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-12-23 21:13:09 +02:00
[Client] Fix bug
This commit is contained in:
parent
6aaa579810
commit
ae53687b01
1 changed files with 3 additions and 1 deletions
|
@ -92,7 +92,8 @@
|
|||
return false;
|
||||
};
|
||||
|
||||
this.ondragenter = () => {
|
||||
this.ondragenter = e => {
|
||||
e.preventDefault();
|
||||
if (!this.isDragging) this.draghover = true;
|
||||
};
|
||||
|
||||
|
@ -101,6 +102,7 @@
|
|||
};
|
||||
|
||||
this.ondrop = e => {
|
||||
e.preventDefault();
|
||||
e.stopPropagation();
|
||||
this.draghover = false;
|
||||
|
||||
|
|
Loading…
Reference in a new issue