diff options
| author | bobzel <zzzman@gmail.com> | 2024-10-09 21:55:06 -0400 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2024-10-09 21:55:06 -0400 |
| commit | 4864f06dcc6eac232bbb9346c68f831fd6420dae (patch) | |
| tree | 36354417e952c979ceb03e8370f39b6223b964f3 /src/client/views/collections/CollectionSubView.tsx | |
| parent | 139a3cb0b3b081c270187e9b4ca281d04ca923bf (diff) | |
| parent | b9fda86731a01ebfc3f21ebdd4eaf43a1c9eccc6 (diff) | |
Merge branch 'master' into ajs-before-executable
Diffstat (limited to 'src/client/views/collections/CollectionSubView.tsx')
| -rw-r--r-- | src/client/views/collections/CollectionSubView.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/collections/CollectionSubView.tsx b/src/client/views/collections/CollectionSubView.tsx index 5d32482c3..581201a20 100644 --- a/src/client/views/collections/CollectionSubView.tsx +++ b/src/client/views/collections/CollectionSubView.tsx @@ -296,7 +296,7 @@ export function CollectionSubView<X>() { return false; } - protected async onExternalDrop(e: React.DragEvent, options: DocumentOptions, completed?: (docs: Doc[]) => void) { + protected async onExternalDrop(e: React.DragEvent, options: DocumentOptions = {}, completed?: (docs: Doc[]) => void) { if (e.ctrlKey) { e.stopPropagation(); // bcz: this is a hack to stop propagation when dropping an image on a text document with shift+ctrl return; |
