aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/linking/LinkEditor.tsx
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2020-08-09 22:48:26 -0400
committerbobzel <zzzman@gmail.com>2020-08-09 22:48:26 -0400
commitdc0ffc050b5b11e345245927f3d8a813937e588d (patch)
treeaba7e5743887274764019e9e07941698c8518ebf /src/client/views/linking/LinkEditor.tsx
parent3ee0b9320fff9910c38bbef04e4866c6746316b8 (diff)
starting to fix link following behavior to audio regions.
Diffstat (limited to 'src/client/views/linking/LinkEditor.tsx')
-rw-r--r--src/client/views/linking/LinkEditor.tsx6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/client/views/linking/LinkEditor.tsx b/src/client/views/linking/LinkEditor.tsx
index 5832a2181..3ef391a5d 100644
--- a/src/client/views/linking/LinkEditor.tsx
+++ b/src/client/views/linking/LinkEditor.tsx
@@ -355,11 +355,11 @@ export class LinkEditor extends React.Component<LinkEditorProps> {
this.openDropdown = !this.openDropdown;
}
- @undoBatch @action
- changeFollowBehavior = (follow: string) => {
+ @undoBatch
+ changeFollowBehavior = action((follow: string) => {
this.openDropdown = false;
Doc.GetProto(this.props.linkDoc).followLinkLocation = follow;
- }
+ })
@computed
get followingDropdown() {