aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/AudioBox.tsx
diff options
context:
space:
mode:
authorbob <bcz@cs.brown.edu>2019-11-04 11:35:50 -0500
committerbob <bcz@cs.brown.edu>2019-11-04 11:35:50 -0500
commitcb7078190a06ea19cb443626b9023b93c1930e3a (patch)
tree86a8e9182e201d7d8e3bbc5a499ad089806cc596 /src/client/views/nodes/AudioBox.tsx
parent2786a2e4b33ff874f320697b89fecec3105df201 (diff)
getting back in the saddle: small changes -audio play icons, link titling, dictation.
Diffstat (limited to 'src/client/views/nodes/AudioBox.tsx')
-rw-r--r--src/client/views/nodes/AudioBox.tsx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/views/nodes/AudioBox.tsx b/src/client/views/nodes/AudioBox.tsx
index 268255b46..d652a11d5 100644
--- a/src/client/views/nodes/AudioBox.tsx
+++ b/src/client/views/nodes/AudioBox.tsx
@@ -193,6 +193,7 @@ export class AudioBox extends DocExtendableComponent<FieldViewProps, AudioDocume
setRef = (e: HTMLAudioElement | null) => {
e && e.addEventListener("timeupdate", this.timecodeChanged);
+ e && e.addEventListener("ended", this.pause);
this._ele = e;
}