diff options
| author | bobzel <zzzman@gmail.com> | 2021-01-26 18:43:04 -0500 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2021-01-26 18:43:04 -0500 |
| commit | 00cea3c9faeccf82e7cf8b22a87a52b57566b97a (patch) | |
| tree | eaec060f236c6aac159d8751ffa75c5da1772d6a /src/client/views/nodes/AudioBox.tsx | |
| parent | dc919272a21ebdd21cae5986db135d893c42fe2d (diff) | |
from last
Diffstat (limited to 'src/client/views/nodes/AudioBox.tsx')
| -rw-r--r-- | src/client/views/nodes/AudioBox.tsx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/client/views/nodes/AudioBox.tsx b/src/client/views/nodes/AudioBox.tsx index b6f4af8a3..f509bfd64 100644 --- a/src/client/views/nodes/AudioBox.tsx +++ b/src/client/views/nodes/AudioBox.tsx @@ -274,8 +274,7 @@ export class AudioBox extends ViewBoxAnnotatableComponent<FieldViewProps, AudioD // returns the html audio element @computed get audio() { - const interactive = this.active() ? "-interactive" : ""; - return <audio ref={this.setRef} className={`audiobox-control${interactive}`}> + return <audio ref={this.setRef} className={`audiobox-control${this.active() ? "-interactive" : ""}`}> <source src={this.path} type="audio/mpeg" /> Not supported. </audio>; |
