Fix drop event in Firefox (#134)

This commit is contained in:
esterTion 2020-05-01 09:02:15 +08:00 committed by GitHub
parent 41fe2820cd
commit 38f995e64f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -242,6 +242,7 @@ class PatchContainer {
})
.on("dragover dragenter dragleave dragend drop", function (e) {
e.preventDefault();
e.stopPropagation();
});
container.on("drop", function (e) {