aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLionel Han <47760119+IGoByJoe@users.noreply.github.com>2020-11-18 21:54:06 -0800
committerLionel Han <47760119+IGoByJoe@users.noreply.github.com>2020-11-18 21:54:06 -0800
commit330ea84103d914e28ddc4b6134ccd0867635b046 (patch)
tree3ee240c70faf2b960c927128f1a725cb93d10df6 /src
parent28dccafaa4aa446dd88c1b6f4218a0d7f79fa1bb (diff)
audio
Diffstat (limited to 'src')
-rw-r--r--src/client/views/nodes/AudioBox.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/AudioBox.tsx b/src/client/views/nodes/AudioBox.tsx
index cba65f663..20f3de2b4 100644
--- a/src/client/views/nodes/AudioBox.tsx
+++ b/src/client/views/nodes/AudioBox.tsx
@@ -532,7 +532,7 @@ export class AudioBox extends ViewBoxAnnotatableComponent<FieldViewProps, AudioD
const markerDoc = (mark: Doc, script: undefined | (() => ScriptField)) => {
return <DocumentView {...this.props}
Document={mark}
- focus={() => this.playLink(mark)}
+ focus={() => script}
pointerEvents={"all"}
rootSelected={returnFalse}
LayoutTemplate={undefined}