mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2025-01-10 15:40:57 -07:00
[Client] Fix bug
This commit is contained in:
parent
e55cd42d0c
commit
4d504b837d
1 changed files with 3 additions and 1 deletions
|
@ -92,7 +92,8 @@
|
||||||
return false;
|
return false;
|
||||||
};
|
};
|
||||||
|
|
||||||
this.ondragenter = () => {
|
this.ondragenter = e => {
|
||||||
|
e.preventDefault();
|
||||||
if (!this.isDragging) this.draghover = true;
|
if (!this.isDragging) this.draghover = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -101,6 +102,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
this.ondrop = e => {
|
this.ondrop = e => {
|
||||||
|
e.preventDefault();
|
||||||
e.stopPropagation();
|
e.stopPropagation();
|
||||||
this.draghover = false;
|
this.draghover = false;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue