Skip to content

Commit

Permalink
Minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jazz-soft committed Jul 27, 2021
1 parent 8335d8e commit ea41dc2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
8 changes: 3 additions & 5 deletions javascript/JZZ.js
Original file line number Diff line number Diff line change
Expand Up @@ -2484,11 +2484,9 @@
var ch = msg[0] & 15;
var st = msg[0] >> 4;
if (st == 12) {
if (JZZ.MIDI.programName) {
msg._bm = this._cc[ch].bm;
msg._bl = this._cc[ch].bl;
msg.label(JZZ.MIDI.programName(msg[1], msg._bm, msg._bl));
}
msg._bm = this._cc[ch].bm;
msg._bl = this._cc[ch].bl;
if (JZZ.MIDI.programName) msg.label(JZZ.MIDI.programName(msg[1], msg._bm, msg._bl));
}
if (st == 11) {
switch (msg[1]) {
Expand Down
2 changes: 1 addition & 1 deletion minified/JZZ.js

Large diffs are not rendered by default.

0 comments on commit ea41dc2

Please sign in to comment.