Skip to content

Commit

Permalink
Merge pull request #155 from natevw/patch-2
Browse files Browse the repository at this point in the history
Fix up inputs enumeration example
  • Loading branch information
cwilso committed Oct 30, 2015
2 parents cb450a0 + 1594149 commit 7b7374d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ <h3 id="MIDIInputMap"><a>MIDIInputMap</a> Interface</h3>
var numberOfMIDIInputs = inputs.size;

// add each of the ports to a &lt;select&gt; box
inputs.forEach( function( key, port ) {
inputs.forEach( function( port, key ) {
var opt = document.createElement("option");
opt.text = port.name;
document.getElementById("inputportselector").add(opt);
Expand Down

0 comments on commit 7b7374d

Please sign in to comment.