function updateSidebar() {
  $('#navInputs').empty();
  $('.input:visible').not('.workup_input').each(function(index) {
    const node = $(this);
    let name = node.find('.input_name').first().text();
    if (name === '') {
      name = '(Input #' + (index + 1) + ')';
    }
    node.attr('input_name', 'INPUT-' + name);
    const navNode = $('<div>&#8226; ' + name + '</div>');
    navNode.addClass('inputNavSection');
    navNode.attr('input_name', 'INPUT-' + name);
    $('#navInputs').append(navNode);
    navNode.click(scrollToInput);
  });
  ord.reaction.updateObserver();
}
/**
 * Updates the input entries in the sidebar.
 */
Updates the input entries in the sidebar.
Updates the input entries in the sidebar .
function updateSidebar() {
  $('#navInputs').empty();
  $('.input:visible').not('.workup_input').each(function(index) {
    const node = $(this);
    let name = node.find('.input_name').first().text();
    if (name === '') {
      name = '(Input #' + (index + 1) + ')';
    }
    node.attr('input_name', 'INPUT-' + name);
    const navNode = $('<div>&#8226; ' + name + '</div>');
    navNode.addClass('inputNavSection');
    navNode.attr('input_name', 'INPUT-' + name);
    $('#navInputs').append(navNode);
    navNode.click(scrollToInput);
  });
  ord.reaction.updateObserver();
}
function updateSidebar ( ) { $ ( '#navInputs' ) . empty ( ) ; $ ( '.input:visible' ) . not ( '.workup_input' ) . each ( function ( index ) { const node = $ ( this ) ; let name = node . find ( '.input_name' ) . first ( ) . text ( ) ; if ( name === '' ) { name = '(Input #' + ( index + 1 ) + ')' ; } node . attr ( 'input_name' , 'INPUT-' + name ) ; const navNode = $ ( '<div>&#8226; ' + name + '</div>' ) ; navNode . addClass ( 'inputNavSection' ) ; navNode . attr ( 'input_name' , 'INPUT-' + name ) ; $ ( '#navInputs' ) . append ( navNode ) ; navNode . click ( scrollToInput ) ; } ) ; ord . reaction . updateObserver ( ) ; }
Updates the input entries in the sidebar.
Updates the input entries in the sidebar .