From b4a5ca8f59e45180dc38b6d7b1c381e833e10919 Mon Sep 17 00:00:00 2001 From: falkTX Date: Sun, 3 Dec 2023 18:29:22 +0100 Subject: [PATCH] Hide midi ports toggle that does not work on mod-app yet Signed-off-by: falkTX --- html/index.html | 2 +- html/js/desktop.js | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/html/index.html b/html/index.html index d74b40e8..cc528912 100644 --- a/html/index.html +++ b/html/index.html @@ -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") diff --git a/html/js/desktop.js b/html/js/desktop.js index df1fd67e..1f085896 100644 --- a/html/js/desktop.js +++ b/html/js/desktop.js @@ -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() }