Skip to content

Commit

Permalink
Fix code example (w3c#245)
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisn authored and mounirlamouri committed Dec 16, 2019
1 parent 8f181c7 commit f9d7ca2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -1331,7 +1331,7 @@ sequence.
var audio = document.createElement("audio");
audio.src = tracks[trackId];

void updatePlayingMedia() {
function updatePlayingMedia() {
audio.src = tracks[trackId];
// Update metadata (omitted)
}
Expand Down

0 comments on commit f9d7ca2

Please sign in to comment.