extras/noUiSlider/nouislider.js
function updateConnect ( index ) {

            // Skip connects set to false
            if ( !scope_Connects[index] ) {
                return;
            }

            var l = 0;
            var h = 100;

            if ( index !== 0 ) {
                l = scope_Locations[index - 1];
            }

            if ( index !== scope_Connects.length - 1 ) {
                h = scope_Locations[index];
            }

            scope_Connects[index].style[options.style] = toPct(l);
            scope_Connects[index].style[options.styleOposite] = toPct(100 - h);
        }
function updateConnect ( index ) {

            // Skip connects set to false
            if ( !scope_Connects[index] ) {
                return;
            }

            var l = 0;
            var h = 100;

            if ( index !== 0 ) {
                l = scope_Locations[index - 1];
            }

            if ( index !== scope_Connects.length - 1 ) {
                h = scope_Locations[index];
            }

            scope_Connects[index].style[options.style] = toPct(l);
            scope_Connects[index].style[options.styleOposite] = toPct(100 - h);
        }
function updateConnect ( index ) { // Skip connects set to false if ( ! scope_Connects [ index ] ) { return ; } var l = 0 ; var h = 100 ; if ( index !== 0 ) { l = scope_Locations [ index - 1 ] ; } if ( index !== scope_Connects . length - 1 ) { h = scope_Locations [ index ] ; } scope_Connects [ index ] . style [ options . style ] = toPct ( l ) ; scope_Connects [ index ] . style [ options . styleOposite ] = toPct ( 100 - h ) ; }
Updates style attribute for connect nodes
Updates style attribute for connect nodes