Commit ce7e2d6a authored by Steel Wagstaff's avatar Steel Wagstaff

Fixes for Pull Request

Made changes suggested in code review:
https://github.com/hypothesis/client/pull/508#pullrequestreview-53812970
.
parent 2284fb0b
...@@ -6,8 +6,7 @@ ...@@ -6,8 +6,7 @@
function audioElement(src) { function audioElement(src) {
var html5audio = document.createElement('audio'); var html5audio = document.createElement('audio');
html5audio.id = 'audio-player'; html5audio.controls = true;
html5audio.controls = 'controls';
html5audio.src = src; html5audio.src = src;
return html5audio; return html5audio;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment