diff options
author | bobzel <zzzman@gmail.com> | 2021-01-08 09:56:41 -0500 |
---|---|---|
committer | bobzel <zzzman@gmail.com> | 2021-01-08 09:56:41 -0500 |
commit | 5a1225bb4f08e28df1434fd26839f020715d1660 (patch) | |
tree | 74bd20d581e3852f45ba56390710de7084832662 | |
parent | 3360cbeed45115fb757816a24f34ee812ff8cf19 (diff) |
fixed breaking undo when clicking on individual link blue dot
-rw-r--r-- | src/client/views/nodes/LinkAnchorBox.tsx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/views/nodes/LinkAnchorBox.tsx b/src/client/views/nodes/LinkAnchorBox.tsx index e347d1304..d86dfd7b1 100644 --- a/src/client/views/nodes/LinkAnchorBox.tsx +++ b/src/client/views/nodes/LinkAnchorBox.tsx @@ -77,6 +77,7 @@ export class LinkAnchorBox extends ViewBoxBaseComponent<FieldViewProps, LinkAnch LinkManager.FollowLink(this.rootDoc, anchorContainerDoc, this.props, false); this._editing = false; }), 300 - (Date.now() - this._lastTap)); + e.stopPropagation(); } } else { this._timeout && clearTimeout(this._timeout); |