From f3017ff598516e033cf142f3347aa4e55d2ca3b9 Mon Sep 17 00:00:00 2001 From: HThuren Date: Tue, 12 Dec 2023 08:03:33 +0100 Subject: [PATCH] unused get to work --- src/js/tabs/auxiliary.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/js/tabs/auxiliary.js b/src/js/tabs/auxiliary.js index 94b3c64f571..34ef6085cfb 100644 --- a/src/js/tabs/auxiliary.js +++ b/src/js/tabs/auxiliary.js @@ -680,7 +680,7 @@ auxiliary.initialize = function (callback) { if ( ! isSelectedMode(modeList, FC.AUX_CONFIG[i])) { modeElement.toggle( false); } - else if ( ! isSelectedMode(modeList, FC.AUX_CONFIG[i]) && modeElement.find(' .range').length == 0 && modeElement.find(' .link').length == 0) { + else if ( modeElement.find(' .range').length == 0 && modeElement.find(' .link').length == 0) { // unused mode modeElement.toggle(!hideUnused); } @@ -724,7 +724,7 @@ auxiliary.initialize = function (callback) { return (x > y) ? x : y; }, 0); - // minimum change to autoselect is 100 + //minimum change to autoselect is 100 if (largest < 100) return fillPrevChannelsValues(); const indexOfMaxValue = diff_array.indexOf(largest);