diff options
| author | bobzel <zzzman@gmail.com> | 2022-05-06 11:45:44 -0400 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2022-05-06 11:45:44 -0400 |
| commit | f072a9f2c1ad69eb8ae4242fa5d2e18bbd94f6ef (patch) | |
| tree | 03cdb7749b8df377a114f42b8ec205fea5f06af4 /src/client/views/collections/collectionFreeForm | |
| parent | fefed2faee7808f75808f769496564d61d292d07 (diff) | |
changed following links to open up icons all the way down to the target document. allow StartLink to work with webBox w/ text selection. fixed web clippings to have a cursor and grab keyDown events.
Diffstat (limited to 'src/client/views/collections/collectionFreeForm')
| -rw-r--r-- | src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx b/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx index 5d1e1892c..5b3a7db41 100644 --- a/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx +++ b/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx @@ -1423,7 +1423,7 @@ export class CollectionFreeFormView extends CollectionSubView<Partial<collection } replaceCanvases = (oldDiv: HTMLElement, newDiv: HTMLElement) => { - if (oldDiv.childNodes) { + if (oldDiv.childNodes && newDiv) { for (let i = 0; i < oldDiv.childNodes.length; i++) { this.replaceCanvases(oldDiv.childNodes[i] as HTMLElement, newDiv.childNodes[i] as HTMLElement); } |
