Skip to content

Commit dc7202b

Browse files
authored
Merge pull request #2353 from limonspb/fix_aux_marker
Fix markers on aux tab
2 parents 6110137 + 1fc1e4f commit dc7202b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/js/tabs/auxiliary.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -409,16 +409,16 @@ TABS.auxiliary.initialize = function (callback) {
409409
}
410410
return channelPosition;
411411
}
412-
412+
413413
function update_marker(auxChannelIndex, channelPosition) {
414414
const percentage = (channelPosition - 900) / (2100-900) * 100;
415-
415+
416416
$('.modes .ranges .range').each( function () {
417-
const auxChannelCandidateIndex = $(this).find('.channel').val();
417+
const auxChannelCandidateIndex = parseInt($(this).find('.channel').val());
418418
if (auxChannelCandidateIndex !== auxChannelIndex) {
419419
return;
420420
}
421-
421+
422422
$(this).find('.marker').css('left', percentage + '%');
423423
});
424424
}

0 commit comments

Comments
 (0)