diff options
| author | yipstanley <stanley_yip@brown.edu> | 2019-07-16 19:10:14 -0400 |
|---|---|---|
| committer | yipstanley <stanley_yip@brown.edu> | 2019-07-16 19:10:14 -0400 |
| commit | 894b829db4c2f5e4b14428d933259595904dda7b (patch) | |
| tree | debad17e451c6e0dbf3fa699d30c3ff97796857d /src/client/views/nodes/LinkMenuItem.tsx | |
| parent | 2e9adac91d724233787a7837e57955cc811a852a (diff) | |
small fixes
Diffstat (limited to 'src/client/views/nodes/LinkMenuItem.tsx')
| -rw-r--r-- | src/client/views/nodes/LinkMenuItem.tsx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/views/nodes/LinkMenuItem.tsx b/src/client/views/nodes/LinkMenuItem.tsx index 03692c182..99ea16094 100644 --- a/src/client/views/nodes/LinkMenuItem.tsx +++ b/src/client/views/nodes/LinkMenuItem.tsx @@ -32,6 +32,7 @@ export class LinkMenuItem extends React.Component<LinkMenuItemProps> { @undoBatch onFollowLink = async (e: React.PointerEvent): Promise<void> => { e.stopPropagation(); + e.persist(); let jumpToDoc = this.props.destinationDoc; let pdfDoc = FieldValue(Cast(this.props.destinationDoc, Doc)); if (pdfDoc) { |
