Skip to content

Commit

Permalink
unused get to work
Browse files Browse the repository at this point in the history
  • Loading branch information
HThuren committed Dec 12, 2023
1 parent 320ea2d commit f3017ff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/js/tabs/auxiliary.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit f3017ff

Please sign in to comment.