Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
LINAGORA
L
LGS
Labs
voice-web
Commits
fe8f6433
Commit
fe8f6433
authored
Sep 27, 2017
by
Michael Henretty
Committed by
GitHub
Sep 27, 2017
Browse files
Revert "Only load audio src in ListenBox if it's defined (#442)" (#459)
This reverts commit
d31de940
.
parent
ffd7ba80
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
web/src/lib/components/listen-box.tsx
web/src/lib/components/listen-box.tsx
+1
-3
No files found.
web/src/lib/components/listen-box.tsx
View file @
fe8f6433
...
...
@@ -167,9 +167,7 @@ export default class ListenBox extends Component<Props, State> {
</
div
>
<
audio
className
=
"audio-box"
// Only include the src attribute if the source is defined
// (empty src attributes are invalid)
{
...
this
.
props
.
src
&&
{
src
:
this
.
props
.
src
}
}
src
=
{
this
.
props
.
src
}
preload
=
"auto"
onLoadStart
=
{
this
.
onLoadStart
}
onCanPlayThrough
=
{
this
.
onCanPlayThrough
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment