mirror of
https://iceshrimp.dev/crimekillz/iceshrimp-161sh.git
synced 2024-11-23 04:33:50 +01:00
Fix #221
This commit is contained in:
parent
48da7abfc4
commit
9c55559d02
@ -359,10 +359,10 @@
|
||||
};
|
||||
|
||||
this.ondragover = e => {
|
||||
e.preventDefault();
|
||||
e.stopPropagation();
|
||||
this.draghover = true;
|
||||
e.dataTransfer.dropEffect = e.dataTransfer.effectAllowed == 'all' ? 'copy' : 'move';
|
||||
return false;
|
||||
};
|
||||
|
||||
this.ondragenter = e => {
|
||||
@ -382,8 +382,6 @@
|
||||
if (e.dataTransfer.files.length > 0) {
|
||||
e.dataTransfer.files.forEach(this.upload);
|
||||
}
|
||||
|
||||
return false;
|
||||
};
|
||||
|
||||
this.onkeydown = e => {
|
||||
|
Loading…
Reference in New Issue
Block a user