fix: clear dragging on mouseup as well

dragging a modal wasn't firing dragend
This commit is contained in:
Barış Soner Uşaklı
2022-05-11 19:38:00 -04:00
parent 5aca106b81
commit 70ad4a5222

View File

@@ -91,7 +91,7 @@ define('uploadHelpers', ['alerts'], function (alerts) {
draggingDocument = true;
})
.off('dragend')
.on('dragend', function () {
.on('dragend, mouseup', function () {
draggingDocument = false;
});