diff --git a/globals.js b/globals.js index 6ef1827..f6dff75 100644 --- a/globals.js +++ b/globals.js @@ -58,7 +58,7 @@ WebMidi.enable(function (err) { //check if WebMidi.js is enabled } midiSelectSlider = select("#slider"); midiSelectSlider.attribute("max", WebMidi.inputs.length - 1); - midiSelectSlider.changed(inputChanged); + midiSelectSlider.input(inputChanged); midiIn = WebMidi.inputs[midiSelectSlider.value()] inputChanged(); });