parent
78ad3ebf85
commit
f41786becb
|
@ -411,11 +411,11 @@ TABS.auxiliary.initialize = function (callback) {
|
||||||
}
|
}
|
||||||
|
|
||||||
function update_marker(auxChannelIndex, channelPosition) {
|
function update_marker(auxChannelIndex, channelPosition) {
|
||||||
var percentage = (channelPosition - 900) / (2100-900) * 100;
|
const percentage = (channelPosition - 900) / (2100-900) * 100;
|
||||||
|
|
||||||
$('.modes .ranges .range').each( function () {
|
$('.modes .ranges .range').each( function () {
|
||||||
var auxChannelCandidateIndex = $(this).find('.channel').val();
|
const auxChannelCandidateIndex = parseInt($(this).find('.channel').val());
|
||||||
if (auxChannelCandidateIndex != auxChannelIndex) {
|
if (auxChannelCandidateIndex !== auxChannelIndex) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue