Skip to content

Commit

Permalink
Hide midi ports toggle that does not work on mod-app yet
Browse files Browse the repository at this point in the history
Signed-off-by: falkTX <[email protected]>
  • Loading branch information
falkTX committed Dec 3, 2023
1 parent b2056cb commit b4a5ca8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion html/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@
$('#mod-bypassRight').hide()
}

if ({{using_mod}}) {
if ({{using_mod}} && !{{using_app}}) {
desktop.authenticateDevice(function (ok) {
if (ok) {
console.log("MOD authentication succeeded")
Expand Down
1 change: 1 addition & 0 deletions html/js/desktop.js
Original file line number Diff line number Diff line change
Expand Up @@ -721,6 +721,7 @@ function Desktop(elements) {
$('#mod-devices').hide()
$('#mod-status').hide()
$('#mod-ram').hide()
$('#mod-show-midi-port').hide()
$('#pedalboards-library').find('a').hide()
$('#pedal-presets-window').find('.js-assign-all').hide()
}
Expand Down

0 comments on commit b4a5ca8

Please sign in to comment.