mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-01-01 13:20:41 +01:00
fix: clear dragging on mouseup as well
dragging a modal wasn't firing dragend
This commit is contained in:
@@ -91,7 +91,7 @@ define('uploadHelpers', ['alerts'], function (alerts) {
|
||||
draggingDocument = true;
|
||||
})
|
||||
.off('dragend')
|
||||
.on('dragend', function () {
|
||||
.on('dragend, mouseup', function () {
|
||||
draggingDocument = false;
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user