mirror of
https://github.com/cryptpad/cryptpad.git
synced 2026-09-12 19:49:59 +05:00
Fix issue with clicking & selecting still dragging the card
This commit is contained in:
parent
e7528b6129
commit
8d7648cc27
@ -1058,8 +1058,11 @@ define([
|
||||
e.stopPropagation();
|
||||
});
|
||||
$(document).on('mouseup', function (e) {
|
||||
var drag = kanban.drag;
|
||||
kanban.options.dragItems = drag;
|
||||
var selectionActive = window.getSelection && window.getSelection().toString().length > 0;
|
||||
if (!selectionActive) {
|
||||
var drag = kanban.drag;
|
||||
kanban.options.dragItems = drag;
|
||||
}
|
||||
e.stopPropagation();
|
||||
});
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user