We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fbb021f commit e452141Copy full SHA for e452141
src/core/Audio.js
@@ -24,10 +24,10 @@ export class Audio extends Element {
24
25
render() {
26
let attrs = `preload="${this.preload}"`;
27
- if (this.controls) attrs += ` controls`;
28
- if (this.autoplay) attrs += ` autoplay`;
29
- if (this.loop) attrs += ` loop`;
30
- if (this.muted) attrs += ` muted`;
+ if (this.controls) attrs += " controls";
+ if (this.autoplay) attrs += " autoplay";
+ if (this.loop) attrs += " loop";
+ if (this.muted) attrs += " muted";
31
32
if (this.sources && Array.isArray(this.sources)) {
33
const sourceTags = this.sources
0 commit comments